]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Type annotate postgresql/sqlite/mysql insert
authorMehdi Gmira <mgmira@wiremind.io>
Wed, 28 Jun 2023 13:52:39 +0000 (09:52 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 29 Jun 2023 22:10:08 +0000 (00:10 +0200)
commit79998e531120c2a14bb69f48101ddcc61bc1a3ab
tree034bc3ab5084d919504cdf0168a82b7308d29991
parent8d40984356522b34212bb489866add723e14ec6b
Type annotate postgresql/sqlite/mysql insert

### Description
The goal is to annotate postgresql specific apis that are under postgresql/dml.py file.
I've looked around to see what types are used for similar apis, hope I got it right :)

### Checklist

This pull request is:

- [x] A documentation / typographical 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.
- [ ] 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.

**Have a nice day!**

Closes: #10021
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10021
Pull-request-sha: 0562f093974520b162de31e8473a4d4d6656d529

Change-Id: I142f8929505c0263fcf45072d888df7ae81e6e85
lib/sqlalchemy/dialects/_typing.py [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/dml.py
lib/sqlalchemy/dialects/mysql/mariadb.py
lib/sqlalchemy/dialects/postgresql/dml.py
lib/sqlalchemy/dialects/sqlite/dml.py
test/typing/plain_files/dialects/mysql/mysql_stuff.py [new file with mode: 0644]
test/typing/plain_files/dialects/postgresql/pg_stuff.py
test/typing/plain_files/dialects/sqlite/sqlite_stuff.py [new file with mode: 0644]