Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
circuitsacul committed Oct 11, 2024
1 parent fc01df3 commit f029e4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hikari_clusters/task_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import asyncio
import logging
import traceback
from typing import Any, Coroutine, Generator, Iterable, Type, TypeVar
from typing import Any, Iterable, Type, TypeVar

__all__ = ("TaskManager",)

Expand Down Expand Up @@ -39,7 +39,7 @@ def next_tid(self) -> int:

def create_task(
self,
coro: Generator[Any, None, _T] | Coroutine[Any, None, _T],
coro: asyncio._CoroutineLike[_T],
*,
name: str | None = None,
ignored_exceptions: Iterable[Type[Exception]] = tuple(),
Expand Down

0 comments on commit f029e4a

Please sign in to comment.