Skip to content

Commit 9739b25

Browse files
committed
docs
1 parent d60a753 commit 9739b25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
class DaskTaskResources(TypedDict, total=False):
99
CPU: float
1010
RAM: int # in bytes
11-
# threads is a constant of 1 (enforced by static type checkers via Literal)
11+
# NOTE: threads is a constant of 1 (enforced by static type checkers via Literal)
12+
# a dask worker can only run as many jobs as it has threads
1213
threads: Literal[1]
1314

1415

0 commit comments

Comments
 (0)