Skip to content

Commit 372e668

Browse files
author
Andrei Neagu
committed
added todo
1 parent 7815f8d commit 372e668

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def __name__(self) -> str: ...
6060
class TaskRegistry:
6161
REGISTERED_TASKS: ClassVar[dict[RegisteredTaskName, TaskProtocol]] = {}
6262

63+
# TODO: maybe only use one method to register
6364
@classmethod
6465
def register(cls, task: TaskProtocol) -> None:
6566
cls.REGISTERED_TASKS[task.__name__] = task

0 commit comments

Comments
 (0)