MyGit
🚩收到GitHub仓库的更新通知

sqlalchemy/sqlalchemy2-stubs

Fork: 41 Star: 157 (更新于 2024-05-05 22:07:22)

license: MIT

Language: Python .

PEP-484 typing stubs for SQLAlchemy 1.4

最后发布版本: v0.0.2a38 ( 2023-12-30 20:15:21)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

=========================== SQLAlchemy 2 Stubs (Legacy)

These are interim PEP-484 typing stubs for the SQLAlchemy <https://www.sqlalchemy.org>_ 1.4 release series only. They are released concurrently along with a Mypy extension <https://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html>_ which is designed to work with these stubs, which assists primarily in the area of ORM mappings.

The stubs replace the use of the "sqlalchemy-stubs" package published by Dropbox. Differences include that these stubs are generated against 1.4's API as well as some adjustments to the use of generics. The sqlalchemy2-stubs stubs package will not work with SQLAlchemy 2.0, and will need to be explicitly / manually uninstalled when upgrading to SQLAlchemy 2.0.

This project should be considered alpha level and is not as mature as the Dropbox stubs for the initial release.

See the Mypy plugin documentation at https://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html for an overview of how to use PEP-484 annotations with ORM mapped classes.

For SQLAlchemy 2.0, when released, the sqlalchemy2-stubs project is not compatible. SQLAlchemy 2.0 will be / is fully pep-484 typed inline and will not be compatible with any stubs. There unfortunately appears to be no standard approach in Python for the problem of a library that upgrades to include typing annotations inline, as typing tools will still consider any installed stubs to take precedence. Therefore sqlalchemy2-stubs will need to be manually uninstalled when upgrading to SQLAlchemy 2.0.

Code of Conduct

Above all, SQLAlchemy places great emphasis on polite, thoughtful, and constructive communication between users and developers. Please see our current Code of Conduct at Code of Conduct <http://www.sqlalchemy.org/codeofconduct.html>_.

License

SQLAlchemy is distributed under the MIT license <http://www.opensource.org/licenses/mit-license.php>_.

最近版本更新:(数据更新于 2024-05-10 05:58:30)

2023-12-30 20:15:21 v0.0.2a38

2023-11-14 14:43:09 v0.0.2a37

2023-10-30 01:53:19 v0.0.2a36

2023-07-11 20:19:57 v0.0.2a35

2023-04-18 03:12:07 v0.0.2a34

2023-04-05 03:14:42 v0.0.2a33

2023-01-19 04:52:39 v0.0.2a32

2022-12-23 03:25:36 v0.0.2a31

2022-12-21 03:24:06 v0.0.2a30

2022-10-11 20:48:15 v0.0.2a29

sqlalchemy/sqlalchemy2-stubs同语言 Python最近更新仓库

2024-05-17 02:09:05 xtekky/gpt4free

2024-05-16 21:11:59 foundryzero/binder-trace

2024-05-16 17:45:58 harry0703/MoneyPrinterTurbo

2024-05-16 16:42:40 linruowuyin/Fhoe-Rail

2024-05-16 05:46:41 phidatahq/phidata

2024-05-15 10:09:51 pipecat-ai/pipecat