We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3208e commit 4bf6d63Copy full SHA for 4bf6d63
packages/service-library/src/servicelib/long_running_tasks/task.py
@@ -470,8 +470,8 @@ async def remove_task(
470
raise TryAgain
471
472
def _get_task_id(self, task_name: str, *, is_unique: bool) -> TaskId:
473
- id_part = "unique" if is_unique else f"{uuid4()}"
474
- return f"{self.lrt_namespace}.{task_name}.{id_part}"
+ suffix = "unique" if is_unique else f"{uuid4()}"
+ return f"{self.lrt_namespace}.{task_name}.{suffix}"
475
476
async def _update_progress(
477
self,
0 commit comments