diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-08-18 12:05:27 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-08-18 12:05:27 -0400 |
commit | d2050fcb38a00944196740e82abf3e6ef227d6c6 (patch) | |
tree | 803426304ba9d247aa4f7e1cb746bc881a0da7d2 | |
parent | b09dbcf141afa516f55857b37396f91d1f2aae0f (diff) | |
download | sqlalchemy-d2050fcb38a00944196740e82abf3e6ef227d6c6.tar.gz |
changelog updates
Change-Id: I7c9a6abb85206c56423cfe70d807fc81ae89117e
-rw-r--r-- | doc/build/changelog/unreleased_14/6804.rst | 10 | ||||
-rw-r--r-- | doc/build/changelog/unreleased_14/6889.rst | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/doc/build/changelog/unreleased_14/6804.rst b/doc/build/changelog/unreleased_14/6804.rst index 92c41d6e3..389da2c85 100644 --- a/doc/build/changelog/unreleased_14/6804.rst +++ b/doc/build/changelog/unreleased_14/6804.rst @@ -1,6 +1,10 @@ .. 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. diff --git a/doc/build/changelog/unreleased_14/6889.rst b/doc/build/changelog/unreleased_14/6889.rst index 495cea22b..fe3c24050 100644 --- a/doc/build/changelog/unreleased_14/6889.rst +++ b/doc/build/changelog/unreleased_14/6889.rst @@ -20,7 +20,7 @@ :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`. |