]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix the docstring of scoped_session.scalars 9371/head
authorGrey Li <withlihui@gmail.com>
Sat, 25 Feb 2023 14:01:02 +0000 (22:01 +0800)
committerGrey Li <withlihui@gmail.com>
Sun, 26 Feb 2023 04:36:32 +0000 (12:36 +0800)
This method was added in 1.4.26 instead of 1.4.24.

lib/sqlalchemy/orm/session.py

index 1a6b050dccbfd5f30d90a799ab07a1a8f92503f7..effb7144069a1ad1466784980d7f0ca44c5faeee 100644 (file)
@@ -2327,7 +2327,8 @@ class Session(_SessionClassMethods, EventTarget):
 
         :return:  a :class:`_result.ScalarResult` object
 
-        .. versionadded:: 1.4.24
+        .. versionadded:: 1.4.24 The :meth:`_orm.scoping.scoped_session.scalars`
+           proxy method was added in 1.4.26.
 
         .. seealso::