From: Grey Li Date: Mon, 20 Feb 2023 20:05:09 +0000 (+0800) Subject: Fix the docstring of AppenerQuery.append() (#9336) X-Git-Tag: rel_2_0_5~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304d590ad4016d5ec627edd55e9ac5b747c68d2a;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix the docstring of AppenerQuery.append() (#9336) --- 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])