Skip to content

How can you associate metadata with a submitted task in the task_stream using the futures interface? #7236

Answered by mrocklin
dask-user asked this question in Q&A
Discussion options

You must be logged in to vote

You might want to try Dask annotations

with dask.annotate(user="matthew"):
    future = client.submit(func, args)

These annotations aren't easily queryable though. They end up on the TaskState but most user-visible functions don't inspect them.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dask-user
Comment options

Answer selected by dask-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants