Skip to content

Commit 2430727

Browse files
committed
fixed types
1 parent 11dcc76 commit 2430727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dask-task-models-library/src/dask_task_models_library/resource_constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_ec2_instance_type_from_resources(
3636

3737
def estimate_dask_worker_resources_from_ec2_instance(
3838
cpus: float, ram: int
39-
) -> tuple[float, float]:
39+
) -> tuple[float, int]:
4040
"""Estimates the resources available to a dask worker running in an EC2 instance,
4141
taking into account safe margins for CPU and RAM.
4242

0 commit comments

Comments
 (0)