From dde1000259dfc8be76cea1689892cb95b5f64c09 Mon Sep 17 00:00:00 2001 From: Giorgi Merebashvili Date: Sat, 28 Feb 2026 15:20:37 +0400 Subject: [PATCH] docs(task): Improve _run_async_task docstring for clarity --- python/fluxqueue/context.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/fluxqueue/context.py b/python/fluxqueue/context.py index 6a87fbd..85b867a 100644 --- a/python/fluxqueue/context.py +++ b/python/fluxqueue/context.py @@ -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: