Skip to content

Commit

Permalink
Update distributed/spans.py
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Jun 23, 2023
1 parent bde42a2 commit 1c56538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distributed/spans.py
Expand Up @@ -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")
Expand Down

0 comments on commit 1c56538

Please sign in to comment.