]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Correct 'Session.is_modified' method documentation 11501/head
authorRoman Druzhkov <r.druzhkov99@gmail.com>
Sun, 16 Jun 2024 16:52:35 +0000 (20:52 +0400)
committerRoman Druzhkov <r.druzhkov99@gmail.com>
Sun, 16 Jun 2024 16:54:16 +0000 (20:54 +0400)
(cherry picked from commit 3cdd3f65f00159f85bfa8f01d52861105d776871)

lib/sqlalchemy/ext/asyncio/scoping.py
lib/sqlalchemy/ext/asyncio/session.py
lib/sqlalchemy/orm/scoping.py
lib/sqlalchemy/orm/session.py

index e879a1654e976db26e2bab6c5f9a0750cde13436..162f34eabfcf19c322d4c90957cb1e34066af9fb 100644 (file)
@@ -864,7 +864,7 @@ class async_scoped_session(Generic[_AS]):
 
         This method retrieves the history for each instrumented
         attribute on the instance and performs a comparison of the current
-        value to its previously committed value, if any.
+        value to its previously flushed or committed value, if any.
 
         It is in effect a more expensive and accurate
         version of checking for the given instance in the
index c5fe469a0d4f25ab05332dfc80fd8316b92a140e..473a8c1717c9111d4bca8ff63547bed373b9ae4d 100644 (file)
@@ -1307,7 +1307,7 @@ class AsyncSession(ReversibleProxy[Session]):
 
         This method retrieves the history for each instrumented
         attribute on the instance and performs a comparison of the current
-        value to its previously committed value, if any.
+        value to its previously flushed or committed value, if any.
 
         It is in effect a more expensive and accurate
         version of checking for the given instance in the
index 819616ae85f3429f8c77b20cc16adc0a8d449697..283f4a0221fb2960a8055c54c0fa3b747a2824f5 100644 (file)
@@ -1228,7 +1228,7 @@ class scoped_session(Generic[_S]):
 
         This method retrieves the history for each instrumented
         attribute on the instance and performs a comparison of the current
-        value to its previously committed value, if any.
+        value to its previously flushed or committed value, if any.
 
         It is in effect a more expensive and accurate
         version of checking for the given instance in the
index a4bf7c1cecf46f87dfd8348e64e1de6d858fecfc..c455ffac93046264d279971f9e41048f1535c48e 100644 (file)
@@ -4761,7 +4761,7 @@ class Session(_SessionClassMethods, EventTarget):
 
         This method retrieves the history for each instrumented
         attribute on the instance and performs a comparison of the current
-        value to its previously committed value, if any.
+        value to its previously flushed or committed value, if any.
 
         It is in effect a more expensive and accurate
         version of checking for the given instance in the