]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add type annotations to `postgresql.json`
authorDenis Laxalde <denis@laxalde.org>
Tue, 4 Mar 2025 20:28:47 +0000 (15:28 -0500)
committerFederico Caselli <cfederico87@gmail.com>
Wed, 5 Mar 2025 19:45:09 +0000 (20:45 +0100)
commit1db6ee03c91cdcb618bac3c5119861656ba16521
treea8addf68da68f6d4c9e547ee9c576c37cf1d89e2
parentf3cdad3597921ac8aecd3c67e564cf999c1e1373
Add type annotations to `postgresql.json`

(Same as https://github.com/sqlalchemy/sqlalchemy/pull/12384, but for `json`.)

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [ ] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [x] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

Related to #6810

**Have a nice day!**

Closes: #12391
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12391
Pull-request-sha: 0a43724f1737a4519629a13e2d6bf33f7aecb9ac

Change-Id: I2a0e88effccf351de7fa72389ee646532ce9cf69
(cherry picked from commit c7f4e8b9370487135777677eaf4d8992825c24aa)
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/sql/type_api.py