Merge "Pass sync_backref=False to relationship call"
This commit is contained in:
commit
ca9213ef40
|
@ -113,7 +113,7 @@ Routes==2.4.1
|
|||
simplejson==3.13.2
|
||||
six==1.15.0
|
||||
snowballstemmer==1.2.1
|
||||
SQLAlchemy==1.3.1
|
||||
SQLAlchemy==1.3.17
|
||||
sqlalchemy-migrate==0.11.0
|
||||
sqlparse==0.2.4
|
||||
statsd==3.2.2
|
||||
|
|
|
@ -805,6 +805,7 @@ class ShareSnapshotInstance(BASE, ManilaBase):
|
|||
),
|
||||
viewonly=True,
|
||||
join_depth=2,
|
||||
sync_backref=False,
|
||||
)
|
||||
share_group_snapshot = orm.relationship(
|
||||
"ShareGroupSnapshot",
|
||||
|
@ -815,6 +816,7 @@ class ShareSnapshotInstance(BASE, ManilaBase):
|
|||
'ShareSnapshotInstance.share_group_snapshot_id'),
|
||||
viewonly=True,
|
||||
join_depth=2,
|
||||
sync_backref=False,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
View-only relationships in database objects have been appropriately
|
||||
tagged to avoid sqlalchemy deprecation messages flooding the log files.
|
|
@ -37,7 +37,7 @@ requests>=2.23.0 # Apache-2.0
|
|||
retrying!=1.3.0,>=1.2.3 # Apache-2.0
|
||||
Routes>=2.4.1 # MIT
|
||||
six>=1.15.0 # MIT
|
||||
SQLAlchemy>=1.3.1 # MIT
|
||||
SQLAlchemy>=1.3.17 # MIT
|
||||
stevedore>=3.2.2 # Apache-2.0
|
||||
tooz>=2.7.1 # Apache-2.0
|
||||
python-cinderclient!=4.0.0,>=3.3.0 # Apache-2.0
|
||||
|
|
Loading…
Reference in New Issue