diff --git a/src/layman/common/prime_db_schema/publications.py b/src/layman/common/prime_db_schema/publications.py index 03a6a1df2..0795f0e04 100644 --- a/src/layman/common/prime_db_schema/publications.py +++ b/src/layman/common/prime_db_schema/publications.py @@ -234,10 +234,10 @@ def get_publication_infos_with_metainfo(workspace_name=None, pub_type=None, styl 'image_mosaic': image_mosaic, 'updated_at': updated_at, '_table_uri': TableUri( - db_uri_str=external_table_uri.get('db_uri_str'), - schema=external_table_uri.get('schema'), - table=external_table_uri.get('table'), - geo_column=external_table_uri.get('geo_column'), + db_uri_str=external_table_uri['db_uri_str'], + schema=external_table_uri['schema'], + table=external_table_uri['table'], + geo_column=external_table_uri['geo_column'], ) if external_table_uri else None, 'native_bounding_box': [xmin, ymin, xmax, ymax], 'native_crs': db_util.get_crs(srid) if srid else None,