]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix the docstring of AppenerQuery.append() (#9336)
authorGrey Li <withlihui@gmail.com>
Mon, 20 Feb 2023 20:05:09 +0000 (04:05 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Feb 2023 20:05:09 +0000 (21:05 +0100)
lib/sqlalchemy/orm/dynamic.py

index fda167a129f893d81f9b6e70c0443a2c03212a39..7514d86cd791077893f00379311cf4c7ca0798b0 100644 (file)
@@ -243,8 +243,8 @@ class AppenderMixin(AbstractCollectionWriter[_T]):
     def append(self, item: _T) -> None:
         """Append an item to this :class:`_orm.AppenderQuery`.
 
-        The given item will be removed from the parent instance's collection on
-        the next flush.
+        The given item will be persisted to the database in terms of
+        the parent instance's collection on the next flush.
 
         """
         self._add_all_impl([item])