From d496639613382a0140f2e2260b82979255a28ffd Mon Sep 17 00:00:00 2001 From: "E. Seiver" <5547078+eseiver@users.noreply.github.com> Date: Wed, 29 Sep 2021 12:25:36 -0700 Subject: clarifies that @reconstructor only applies to a single method --- lib/sqlalchemy/orm/mapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy') diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index 7f111b237..1aa6666a5 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -3515,7 +3515,7 @@ def _dispose_registries(registries, cascade): def reconstructor(fn): """Decorate a method as the 'reconstructor' hook. - Designates a method as the "reconstructor", an ``__init__``-like + Designates a single method as the "reconstructor", an ``__init__``-like method that will be called by the ORM after the instance has been loaded from the database or otherwise reconstituted. -- cgit v1.2.1