cinder/cinder/db/sqlalchemy
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
..
migrate_repo Remove six of dir cinder/db/* 2020-10-07 16:29:29 +08:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
api.py Resolve SADeprecationWarning for joinedload_all 2021-03-16 17:14:07 +01:00
models.py Follow Up: Default type overrides 2020-09-17 09:05:54 +00:00