From 304d590ad4016d5ec627edd55e9ac5b747c68d2a Mon Sep 17 00:00:00 2001 From: Grey Li Date: Tue, 21 Feb 2023 04:05:09 +0800 Subject: [PATCH] Fix the docstring of AppenerQuery.append() (#9336) --- lib/sqlalchemy/orm/dynamic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sqlalchemy/orm/dynamic.py b/lib/sqlalchemy/orm/dynamic.py index fda167a129..7514d86cd7 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]) -- 2.47.2