Skip to content

Commit

Permalink
🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot committed May 24, 2024
1 parent d184666 commit 9f4c0b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions an_website/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,13 +820,13 @@ def time_to_str(spam: float) -> str:
class BackgroundTask(Protocol):
"""A protocol representing a background task."""

async def __call__(self, *, app: Application, worker: int | None) -> None:
"""Start the background task."""

@property
def __name__(self) -> str:
"""The name of the task."""

async def __call__(self, *, app: Application, worker: int | None) -> None:
"""Start the background task."""


@dataclass(order=True, frozen=True, slots=True)
class PageInfo:
Expand Down

0 comments on commit 9f4c0b6

Please sign in to comment.