Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer committed Oct 5, 2023
1 parent c3f6feb commit 0091758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/services/sumo_access/table_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def get_table_schemas_single_realization(self, realization: int = 0) -> Li
async for table in table_collection
]

def get_realization_table(
async def get_realization_table(
self,
table_schema: SumoTableSchema,
realization: int = 0,
Expand All @@ -47,7 +47,7 @@ def get_realization_table(
if len(table_collection) > 1:
raise ValueError(f"Multiple tables found for {table_schema=}")

sumo_table = table_collection[0]
sumo_table = await table_collection.getitem_async(0)
return sumo_table.arrowtable

def realizations_tables_are_equal(self, table_schema: SumoTableSchema) -> bool:
Expand Down

0 comments on commit 0091758

Please sign in to comment.