keystone/keystone/application_credential
Stephen Finucane 0bbaf63a5a db: Replace use of reverse cascades
Resolve the following RemovedIn20Warning warning:

  "ApplicationCredentialRoleModel" object is being merged into a Session
  along the backref cascade path for relationship
  "ApplicationCredentialModel.roles"; in SQLAlchemy 2.0, this reverse
  cascade will not take place.  Set cascade_backrefs to False in either
  the relationship() or backref() function for the 2.0 behavior; or to
  set globally for the whole Session, set the future=True flag

This also applies for "ApplicationCredentialAccessRuleModel" and
"AccessRuleModel.application_credential".

Change-Id: I277cb4d512ca6b4e4aca5aad60a97a78cdb961e3
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2023-02-28 17:26:39 +00:00
..
backends db: Replace use of reverse cascades 2023-02-28 17:26:39 +00:00
__init__.py Convert /v3/users to flask native dispatching 2018-10-11 15:27:45 -07:00
core.py Merge "Add notifications for deleting app creds by user" 2019-09-24 18:33:43 +00:00
schema.py Update hacking for Python3 2020-04-15 07:17:58 +02:00