Skip to content

Commit b33189a

Browse files
author
Andrei Neagu
committed
using dots as sperators
1 parent c3ab232 commit b33189a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ async def remove_task(
314314

315315
def _get_task_id(self, task_name: str, *, is_unique: bool) -> TaskId:
316316
unique_part = "unique" if is_unique else f"{uuid4()}"
317-
return f"{self.namespace}_{task_name}_{unique_part}"
317+
return f"{self.namespace}.{task_name}.{unique_part}"
318318

319319
def start_task(
320320
self,

0 commit comments

Comments
 (0)