From 956cbcbf4889f3ec1ef486d3ee7d245877049030 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Thu, 16 Apr 2026 21:06:55 +0200 Subject: [PATCH] add missing versionadded annotation Change-Id: Id3ae0bcd9fef956bec0aa9c19ffc375472840774 References: #13238 --- lib/sqlalchemy/orm/decl_api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/sqlalchemy/orm/decl_api.py b/lib/sqlalchemy/orm/decl_api.py index e9423c087d..0df31d236a 100644 --- a/lib/sqlalchemy/orm/decl_api.py +++ b/lib/sqlalchemy/orm/decl_api.py @@ -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__ -- 2.47.3