From: Federico Caselli Date: Fri, 20 Jun 2025 21:16:22 +0000 (+0200) Subject: type `set_committed_value`. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33af5279bbcf77d85f3370ce36d9f81e92c63fd6;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git type `set_committed_value`. Fixes: #12669 Change-Id: I9c73184d4c4880d0cd72eaafe125b3cf48bedf02 --- diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index e8886a1181..8898bffae9 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -2735,7 +2735,7 @@ def init_state_collection( return adapter -def set_committed_value(instance, key, value): +def set_committed_value(instance: object, key: str, value: Any) -> None: """Set the value of an attribute with no history events. Cancels any previous history present. The value should be