cinder/cinder/db
Gorka Eguileor 09124fa689 Resolve SADeprecationWarning for joinedload_all
Method joinedload_all was deprecated in SQLAlchemy in version 0.9.0 and
has been removed in version 1.4.0.

Standard way of fixing this is by replacing joinedload_all with a custom
method that chains joinedload calls for each word between ".".

In Cinder's case it's not even necessary, since all our joinedload_all
should have been joinedload in the first place.

This patch replaces joinedload_all with joinedload to resolve the
SADeprecationWarning issue and failure in newer releases.

Closes-Bug: #1832164
Change-Id: I50dc67b12764e6baa0ef05983242029b1f3d765b
2021-03-16 17:14:07 +01:00
..
sqlalchemy Resolve SADeprecationWarning for joinedload_all 2021-03-16 17:14:07 +01:00
__init__.py Enable flake8 H303,H304 checking 2014-04-15 09:16:01 +00:00
api.py Merge "Default type overrides" 2020-09-16 21:49:13 +00:00
base.py Remove six of dir cinder/db/* 2020-10-07 16:29:29 +08:00
migration.py Compact DB migrations to Queens 2019-05-03 09:45:21 -05:00