db: Post-migration cleanup

Now that we have migrated all of our DB APIs to enginefacade, we can
clean up the outstanding TODOs.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Iee198a16f030f1205d38b7c232d4e3a42642c756
This commit is contained in:
Stephen Finucane 2024-04-02 14:20:21 +01:00
parent 1330a5e34a
commit 98ef4c7755
1 changed files with 6 additions and 8 deletions

View File

@ -997,24 +997,22 @@ def export_locations_update(
####################
def export_location_metadata_get(context, export_location_uuid, session=None):
def export_location_metadata_get(context, export_location_uuid):
"""Get all metadata of an export location."""
return IMPL.export_location_metadata_get(
context, export_location_uuid, session=session)
return IMPL.export_location_metadata_get(context, export_location_uuid)
def export_location_metadata_delete(context, export_location_uuid, keys,
session=None):
def export_location_metadata_delete(context, export_location_uuid, keys):
"""Delete metadata of an export location."""
return IMPL.export_location_metadata_delete(
context, export_location_uuid, keys, session=session)
context, export_location_uuid, keys)
def export_location_metadata_update(context, export_location_uuid, metadata,
delete, session=None):
delete):
"""Update metadata of an export location."""
return IMPL.export_location_metadata_update(
context, export_location_uuid, metadata, delete, session=session)
context, export_location_uuid, metadata, delete)
####################