Skip to content

Commit

Permalink
leave a warning about future instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Jul 19, 2024
1 parent f211ada commit a5f8430
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions distributed/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ class Future(WrappedKey):
manages future objects in the local Python process to determine what
happens in the larger cluster.
.. note::
Users should not instantiate futures manually. This can lead to state
corruption and deadlocking clusters.
Parameters
----------
key: str, or tuple
Expand Down

0 comments on commit a5f8430

Please sign in to comment.