diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2020-08-05 04:49:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-08-05 04:49:57 +0000 |
commit | ba9380ef28871b2274ab0bab75e5efddf2ced467 (patch) | |
tree | a69613dca1434c25ed2b8bfb877338206213f4e4 /lib/sqlalchemy/orm/relationships.py | |
parent | c813fe1678c4edbce32f0652353ed70f0a14566f (diff) | |
parent | 14fdd6260a578488bdad95b738ea6af5c2fcd13c (diff) | |
download | sqlalchemy-ba9380ef28871b2274ab0bab75e5efddf2ced467.tar.gz |
Merge "Establish future behavior for Session cascade backrefs, bind"
Diffstat (limited to 'lib/sqlalchemy/orm/relationships.py')
-rw-r--r-- | lib/sqlalchemy/orm/relationships.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/relationships.py b/lib/sqlalchemy/orm/relationships.py index d4c5b4665..cb490b7d7 100644 --- a/lib/sqlalchemy/orm/relationships.py +++ b/lib/sqlalchemy/orm/relationships.py @@ -408,6 +408,10 @@ class RelationshipProperty(StrategizedProperty): will not cascade an incoming transient object into the session of a persistent parent, if the event is received via backref. + .. deprecated:: 1.4 The + :paramref:`_orm.relationship.cascade_backrefs` + flag will default to False in all cases in SQLAlchemy 2.0. + .. seealso:: :ref:`backref_cascade` - Full discussion and examples on how |