summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/dynamic.py
diff options
context:
space:
mode:
authorGrey Li <withlihui@gmail.com>2023-02-21 04:05:09 +0800
committerGitHub <noreply@github.com>2023-02-20 21:05:09 +0100
commit304d590ad4016d5ec627edd55e9ac5b747c68d2a (patch)
tree63c5be7343829975936d24c4e0849dd4ae2a89be /lib/sqlalchemy/orm/dynamic.py
parent23f3d8da1b9a3dbe7a7e8c7788eec3dd8b5e0cd2 (diff)
downloadsqlalchemy-304d590ad4016d5ec627edd55e9ac5b747c68d2a.tar.gz
Fix the docstring of AppenerQuery.append() (#9336)
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
-rw-r--r--lib/sqlalchemy/orm/dynamic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/dynamic.py b/lib/sqlalchemy/orm/dynamic.py
index fda167a12..7514d86cd 100644
--- a/lib/sqlalchemy/orm/dynamic.py
+++ b/lib/sqlalchemy/orm/dynamic.py
@@ -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])