summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/sqlite/pysqlite.py
diff options
context:
space:
mode:
authorKai Mueller <15907922+kasium@users.noreply.github.com>2021-12-21 15:00:30 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2021-12-22 18:24:15 -0500
commit1c73759353cdf009c21aa1a56caed574c7d5cf50 (patch)
tree4a85e3b55e9d0c8dc7ee70944e4fd6137746712c /lib/sqlalchemy/dialects/sqlite/pysqlite.py
parentaded8b11d9eccbd1f2b645a94338e34a3d234bc9 (diff)
downloadsqlalchemy-1c73759353cdf009c21aa1a56caed574c7d5cf50.tar.gz
Fix missing class attributes when using __class_getitem__
Fixed issue where the ``__class_getitem__()`` method of the generated declarative base class by :func:`_orm.as_declarative` would lead to inaccessible class attributes such as ``__table__``, for cases where a ``Generic[T]`` style typing declaration were used in the class hierarchy. This is in continuation from the basic addition of ``__class_getitem__()`` in :ticket:`7368`. Pull request courtesy Kai Mueller. Fixes: #7462 Closes: #7470 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7470 Pull-request-sha: d5e5765e0e5542149f116ed9ccff1b3e2e32dee5 Change-Id: I6418af6d34532ff181343884bd419d9c2684e617
Diffstat (limited to 'lib/sqlalchemy/dialects/sqlite/pysqlite.py')
0 files changed, 0 insertions, 0 deletions