Skip to content

Commit 97eba62

Browse files
committed
rm todo
1 parent de52738 commit 97eba62

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/service-library/src/servicelib/background_task.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ def periodic(
3838
*,
3939
interval: datetime.timedelta,
4040
raise_on_error: bool = False,
41-
early_wake_up_event: (
42-
asyncio.Event | None
43-
) = None, # TODO: i would argue that this should be a different decorator instead of an optional arguments since with this event,
44-
# the funciton is not periodic anymore but rahter repeatedly triggered by the event
41+
early_wake_up_event: asyncio.Event | None = None,
4542
) -> Callable[
4643
[Callable[P, Coroutine[Any, Any, None]]], Callable[P, Coroutine[Any, Any, None]]
4744
]:

0 commit comments

Comments
 (0)