]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix `get_one` return value description 10473/head
authorJochen Kupperschmidt <homework@nwsnet.de>
Sat, 14 Oct 2023 02:46:25 +0000 (04:46 +0200)
committerJochen Kupperschmidt <homework@nwsnet.de>
Sat, 14 Oct 2023 02:46:25 +0000 (04:46 +0200)
lib/sqlalchemy/orm/scoping.py
lib/sqlalchemy/orm/session.py

index c03cfe8d54b99d2638813c8daafbb3c5d21a5a9f..e8dfb8a80a5d36f7c7617c08bcdf11c2354f10bd 100644 (file)
@@ -1099,7 +1099,7 @@ class scoped_session(Generic[_S]):
 
         .. versionadded:: 2.0.22
 
-        :return: The object instance, or ``None``.
+        :return: The object instance.
 
         .. seealso::
 
index e1d2c4947b85fe732954fb9e61123892e94e2083..e247e0d143fd2869604e09c9d00dafc1d53ff40e 100644 (file)
@@ -3683,7 +3683,7 @@ class Session(_SessionClassMethods, EventTarget):
 
         .. versionadded:: 2.0.22
 
-        :return: The object instance, or ``None``.
+        :return: The object instance.
 
         .. seealso::