diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-01-09 12:38:10 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-01-09 12:38:10 -0500 |
| commit | 2ef4b449a7709ecab45e926f0e8d0dd398fd12db (patch) | |
| tree | fa333ebfb541996f1307e06f2c407717399f60c9 | |
| parent | a8af0351fa9f29e18dacd3eee81221b35d801e3a (diff) | |
| download | sqlalchemy-2ef4b449a7709ecab45e926f0e8d0dd398fd12db.tar.gz | |
remove misleading line in post_update
this UPDATE refers to the unit of work's need to consider this
additional UPDATE as a dependency and not an actual UPDATE statement.
Change-Id: I2a520af21ebf96b45c431efa898d4e7683a5bc2d
References: #9066
References: #1063
| -rw-r--r-- | lib/sqlalchemy/orm/_orm_constructors.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/_orm_constructors.py b/lib/sqlalchemy/orm/_orm_constructors.py index 3ca9cac07..424385e1b 100644 --- a/lib/sqlalchemy/orm/_orm_constructors.py +++ b/lib/sqlalchemy/orm/_orm_constructors.py @@ -1397,9 +1397,7 @@ def relationship( :param post_update: This indicates that the relationship should be handled by a second UPDATE statement after an INSERT or before a - DELETE. Currently, it also will issue an UPDATE after the - instance was UPDATEd as well, although this technically should - be improved. This flag is used to handle saving bi-directional + DELETE. This flag is used to handle saving bi-directional dependencies between two individual rows (i.e. each row references the other), where it would otherwise be impossible to INSERT or DELETE both rows fully since one row exists before the |
