Skip to content

Commit 4bf6d63

Browse files
author
Andrei Neagu
committed
renamed
1 parent 0d3208e commit 4bf6d63

File tree

1 file changed

+2
-2
lines changed
  • packages/service-library/src/servicelib/long_running_tasks

1 file changed

+2
-2
lines changed

packages/service-library/src/servicelib/long_running_tasks/task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ async def remove_task(
470470
raise TryAgain
471471

472472
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}"
473+
suffix = "unique" if is_unique else f"{uuid4()}"
474+
return f"{self.lrt_namespace}.{task_name}.{suffix}"
475475

476476
async def _update_progress(
477477
self,

0 commit comments

Comments
 (0)