Skip to content

Commit 6094e8c

Browse files
committed
no need to call items
1 parent 3c8592f commit 6094e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/autoscaling/src/simcore_service_autoscaling/modules/cluster_scaling/_utils_computational.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def resources_from_dask_task(task: DaskTask) -> Resources:
3030
) # merge with defaults to ensure there is always some minimal resource defined
3131

3232
return Resources.from_flat_dict(
33-
task_resources.items(), mapping=DASK_TO_RESOURCE_NAME_MAPPING
33+
task_resources, mapping=DASK_TO_RESOURCE_NAME_MAPPING
3434
)
3535

3636

0 commit comments

Comments
 (0)