We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ae16d commit 9ed6036Copy full SHA for 9ed6036
services/director-v2/src/simcore_service_director_v2/modules/db/repositories/comp_runs_snapshot_tasks.py
@@ -18,6 +18,12 @@ class CompRunsSnapshotTasksRepository(BaseRepository):
18
async def batch_create(
19
self, *, data: list[dict]
20
) -> None: # list[CompRunSnapshotTaskAtDBGet]:
21
+ if not data:
22
+ logger.warning(
23
+ "No data provided for batch creation of comp run snapshot tasks"
24
+ )
25
+ return
26
+
27
async with transaction_context(self.db_engine) as conn:
28
29
try:
0 commit comments