You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't rely on SQLAlchemy collections magically initializing __dict__
The behavior of accessing "foo.some_collection" mutating __dict__ is going
away. You still get an empty list back but the assumptions made
in Nova here go beyond that including that security group tests
are expecting "rules=[]" to be in `__dict__` which will not be the case.
Set an empty list explicitly here.
Related SQLAlchemy gerrit: https://gerrit.sqlalchemy.org/#/c/sqlalchemy/sqlalchemy/+/1283/
Oslo.db discussion: https://bugs.launchpad.net/oslo.db/+bug/1830504
Change-Id: I986e069a65b608799b5074829fa796c6c4b98da8
0 commit comments