Skip to content

Commit 1cf0045

Browse files
merge master
2 parents 5f116fe + 961ad38 commit 1cf0045

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

packages/postgres-database/src/simcore_postgres_database/migration/versions/42ec7816c0b4_computational_collection_runs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,3 @@ def downgrade():
119119
)
120120
op.drop_table("comp_runs_collections")
121121
# ### end Alembic commands ###
122-
# ### end Alembic commands ###

services/director-v2/src/simcore_service_director_v2/modules/db/repositories/comp_runs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ async def create(
502502
use_on_demand_clusters: bool,
503503
dag_adjacency_list: dict[str, list[str]],
504504
collection_run_id: CollectionRunID,
505+
collection_run_id: CollectionRunID,
505506
) -> CompRunsAtDB:
506507
try:
507508
async with transaction_context(self.db_engine) as conn:
@@ -519,6 +520,7 @@ async def create(
519520
use_on_demand_clusters=use_on_demand_clusters,
520521
dag_adjacency_list=dag_adjacency_list,
521522
collection_run_id=f"{collection_run_id}",
523+
collection_run_id=f"{collection_run_id}",
522524
)
523525
.returning(literal_column("*"))
524526
)

services/director-v2/tests/unit/with_dbs/comp_scheduler/test_db_repositories_comp_runs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ async def test_list(
107107
use_on_demand_clusters=faker.pybool(),
108108
dag_adjacency_list=published_project.pipeline.dag_adjacency_list,
109109
collection_run_id=fake_collection_run_id,
110+
collection_run_id=fake_collection_run_id,
110111
)
111112
assert await CompRunsRepository(sqlalchemy_async_engine).list_() == [created]
112113

@@ -120,6 +121,7 @@ async def test_list(
120121
use_on_demand_clusters=faker.pybool(),
121122
dag_adjacency_list=published_project.pipeline.dag_adjacency_list,
122123
collection_run_id=faker.uuid4(),
124+
collection_run_id=faker.uuid4(),
123125
)
124126
for n in range(50)
125127
)

0 commit comments

Comments
 (0)