Repository navigation
Commit 0c2d996
Update git submodules
* Update octavia from branch 'master'
to 3021ae124b6201f890aa24a0f9d86e63bd357e3c
- Merge "Replace deprecated SQLAlchemy noload and return get_all_orm for L7 policies"
- Replace deprecated SQLAlchemy noload and return get_all_orm for L7 policies
noload was deprecated in SQLAlchemy 2.1 due to confusing
behavior caused by this option[1]. Replace it by raiseload so
that we ensure that these non-loaded attributes are not read.
The model.to_date_model() call within the API attempts to load all
relationships. However this prevents us from replacing noload, which
is deprecated in SQLAlchemy 2.1, due to lack of explicit join calls.
Return the full ORM directly instead, to leave loading to the later
logics. Now matches all the other get_all_API methods.
[1] sqlalchemy/sqlalchemy#11045
Assisted-by: Opencode with GPT 5.5
Co-authored-by: Takashi Kajinami <[email protected]>
Change-Id: Id1a93ed67f3c12168b33e3bdbfc6e8e1bd209bca
Signed-off-by: Richard Cruise <[email protected]>1 parent 67b5555 commit 0c2d996
1 file changed
Lines changed: 1 addition & 1 deletion
0 commit comments