Skip to content

Commit 73a95ec

Browse files
review @sanderegg
1 parent 8bf1c29 commit 73a95ec

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/postgres-database/src/simcore_postgres_database/models/comp_run_snapshot_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""Computational Tasks Table"""
22

33
import sqlalchemy as sa
4-
from simcore_postgres_database.models.comp_tasks import NodeClass
54
from sqlalchemy.dialects import postgresql
65

76
from ._common import (
@@ -12,6 +11,7 @@
1211
from .base import metadata
1312
from .comp_pipeline import StateType
1413
from .comp_runs import comp_runs
14+
from .comp_tasks import NodeClass
1515

1616
comp_run_snapshot_tasks = sa.Table(
1717
"comp_run_snapshot_tasks",

services/director-v2/src/simcore_service_director_v2/models/comp_runs.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def convert_null_to_empty_metadata(cls, v):
142142
"use_on_demand_clusters": False,
143143
"scheduled": None,
144144
"processed": None,
145-
"dag_adjacency_list": {},
145+
"dag_adjacency_list": {"4f15c166-cd27-5d7b-8277-af5ad6e0a7e1": []},
146146
},
147147
{
148148
"run_id": 43243,
@@ -159,7 +159,10 @@ def convert_null_to_empty_metadata(cls, v):
159159
"use_on_demand_clusters": False,
160160
"scheduled": None,
161161
"processed": None,
162-
"dag_adjacency_list": {},
162+
"dag_adjacency_list": {
163+
"901b3ad0-4dc2-4f97-94c2-07621d862baa": [],
164+
"5e463365-2f8e-4b74-883e-97b0a1ae7798": [],
165+
},
163166
},
164167
]
165168
},

0 commit comments

Comments
 (0)