]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
document declarative base made non-dynamically
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Feb 2021 17:19:30 +0000 (12:19 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Feb 2021 00:45:01 +0000 (19:45 -0500)
commit638ec10920268b0332c1bf1bb2bf1181979b3f9c
treefc792571d7f91fea506842c0c1056d8637033cb0
parentd8547f80cee002cc3f15288997af3284ab12396b
document declarative base made non-dynamically

officially document how to make declarative base
non-dynamically such that mypy and similar tools
can process it without plugins

Change-Id: I884f9a7c06c4a8b8111948a2dd64e308e7dce4fc
References: #4609
doc/build/orm/mapping_styles.rst
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/decl_api.py
test/orm/declarative/test_basic.py