]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add missing versionadded annotation
authorFederico Caselli <cfederico87@gmail.com>
Thu, 16 Apr 2026 19:06:55 +0000 (21:06 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 16 Apr 2026 19:06:55 +0000 (21:06 +0200)
Change-Id: Id3ae0bcd9fef956bec0aa9c19ffc375472840774
References: #13238

lib/sqlalchemy/orm/decl_api.py

index e9423c087d689c88d53d9e57d016bc149207e103..0df31d236a0a363920d63f65fef479fedee3b84f 100644 (file)
@@ -751,7 +751,9 @@ class _DeclarativeTyping(TypingOnly):
 
 class MappedClassWithTypedColumnsProtocol(Protocol[_TC]):
     """An ORM mapped class that also defines in the ``__typed_cols__``
-    attribute its .
+    attribute its typed columns.
+
+    .. versionadded:: 2.1.0b2
     """
 
     __typed_cols__: _TC
@@ -839,6 +841,7 @@ def as_typed_table(
     to annotate the single columns, since it's a more specific annotation than
     the usual :class:`_orm.Mapped` used for ORM attributes.
 
+    .. versionadded:: 2.1.0b2
     """
     return cls.__table__