diff --git a/distributed/spans.py b/distributed/spans.py index ab7ecebcab5..b6bad3f1ab4 100644 --- a/distributed/spans.py +++ b/distributed/spans.py @@ -75,6 +75,7 @@ def span(*tags: str) -> Iterator[str]: optimization. Set config ``optimization.fuse.active: false`` to prevent this issue. You may retrieve the current span with ``dask.get_annotations().get("span")``. + You can do so in the client code as well as from inside a task. """ if not tags: raise ValueError("Must specify at least one span tag")