Skip to content

Commit

Permalink
Update TaskState documentation about dependents attribute (#4440)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Feb 4, 2021
1 parent f3f4bff commit a0d60e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion distributed/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ class TaskState:
* **dependencies**: ``set(TaskState instances)``
The data needed by this key to run
* **dependents**: ``set(TaskState instances)``
The keys that use this dependency
The keys that use this dependency. Only keys which are not available
already are tracked in this structure and dependents made available are
actively removed. Only after all dependents have been removed, this task
is allowed to be forgotten
* **duration**: ``float``
Expected duration the a task
* **priority**: ``tuple``
Expand Down

0 comments on commit a0d60e7

Please sign in to comment.