Skip to content

Commit

Permalink
Fix: use _table param
Browse files Browse the repository at this point in the history
  • Loading branch information
hjk1030 committed May 14, 2024
1 parent 16a821f commit 700301b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aidb/engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ async def clear_ml_cache(self, service_name_list = None):
service_name_list.add(input_column.split('.')[0])
asyncio_run(conn.execute(delete(bounded_service._cache_table)))
for output_column in bounded_service.binding.output_columns:
asyncio_run(conn.execute(delete(bounded_service._tables[output_column.split('.')[0]])))
asyncio_run(conn.execute(delete(bounded_service._tables[output_column.split('.')[0]]._table)))
else:
logger.debug(f"Service binding for {bounded_service.service.name} is not cached")

0 comments on commit 700301b

Please sign in to comment.