Change-Id: I7c9a6abb85206c56423cfe70d807fc81ae89117e
.. change::
- :tags: change
+ :tags: usecase, mypy
:tickets: 6804, 6759
- Add basic support for generic classes without requiring
- ``TYPE_CHECKING``.
+ Added support for SQLAlchemy classes to be defined in user code using
+ "generic class" syntax as defined by ``sqlalchemy2-stubs``, e.g.
+ ``Column[String]``, without the need for qualifying these constructs within
+ a ``TYPE_CHECKING`` block by implementing the Python special method
+ ``__class_getitem__()``, which allows this syntax to pass without error at
+ runtime.
:tags: bug, orm
:tickets: 6889
- Fixed an issue where the :class:`_orm.Bundle` construct would not create
- proper cache keys, leading to inefficient use of the query cache. This
- had some impact on the "selectinload" strategy and was identified as
- part of :ticket:`6889`.
+ Fixed an issue where the :class:`_orm.Bundle` construct would not create
+ proper cache keys, leading to inefficient use of the query cache. This
+ had some impact on the "selectinload" strategy and was identified as
+ part of :ticket:`6889`.