Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python/fluxqueue/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ async def _run_async_task(
):
"""
This function is for internal use only.

This function is used to run an async task if it has context,
which also sets and then resets its metadata.
"""
token = self._metadata_var.set(metadata)
try:
Expand Down