diff options
| author | Matthias Urlichs <matthias@urlichs.de> | 2014-05-11 16:26:05 +0200 |
|---|---|---|
| committer | Matthias Urlichs <matthias@urlichs.de> | 2014-05-11 16:54:46 +0200 |
| commit | b385301343136bb5a3585785611adfc1d3ac5984 (patch) | |
| tree | f87bd17adb5fe00d3bf50d54614f4fce4131d06b | |
| parent | 55eacc8dbea3c3f98197bde9034fd6558fb2bc09 (diff) | |
| download | sqlalchemy-pr/90.tar.gz | |
| -rw-r--r-- | lib/sqlalchemy/orm/events.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py index 6bc6b17ff..81d2e35de 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -236,8 +236,9 @@ class InstanceEvents(event.Events): ``__new__``, and after initial attribute population has occurred. - This typically occurs when the instance is created based on - incoming result rows, and is only called once for that + This typically occurs when the instance is created, either + based on incoming result rows or by adding a new instance + object to the database. It is only called once for that instance's lifetime. Note that during a result-row load, this method is called upon |
