summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/mapper.py
diff options
context:
space:
mode:
authorE. Seiver <5547078+eseiver@users.noreply.github.com>2021-09-29 12:25:36 -0700
committerE. Seiver <5547078+eseiver@users.noreply.github.com>2021-09-29 12:25:36 -0700
commitd496639613382a0140f2e2260b82979255a28ffd (patch)
tree6fe3af657acf8d3005e403cf1c8f2d5fb38d9c8d /lib/sqlalchemy/orm/mapper.py
parent0f9335b8aa0047ee410848e30a7899db24f9b745 (diff)
downloadsqlalchemy-d496639613382a0140f2e2260b82979255a28ffd.tar.gz
clarifies that @reconstructor only applies to a single method
Diffstat (limited to 'lib/sqlalchemy/orm/mapper.py')
-rw-r--r--lib/sqlalchemy/orm/mapper.py2
1 files changed, 1 insertions, 1 deletions
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.