Skip to content

Commit

Permalink
Make collect_package_local sync - ref #1996
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Nov 4, 2024
1 parent 85dbdbe commit 6bcb481
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fractal_server/tasks/v2/collection_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _customize_and_run_template(
return stdout


async def collect_package_local(
def collect_package_local(
*,
state_id: int,
task_group: TaskGroupV2,
Expand Down
4 changes: 2 additions & 2 deletions tests/v2/06_tasks/test_background_operations_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def test_collect_pip_existing_file(tmp_path, db, first_user):
# Create task_group.path
path.mkdir()
# Run background task
await collect_package_local(
collect_package_local(
task_group=task_group,
state_id=state.id,
)
Expand Down Expand Up @@ -129,7 +129,7 @@ async def test_collect_pip_local_fail_rmtree(
await db.refresh(state)
db.expunge(state)
# Run background task
await collect_package_local(
collect_package_local(
task_group=task_group,
state_id=state.id,
)
Expand Down

0 comments on commit 6bcb481

Please sign in to comment.