Skip to content

Commit

Permalink
Fix task factory type
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Oct 28, 2024
1 parent faed782 commit e19e929
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aioloop_proxy/_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ def fileno(self) -> int: ...
class _TaskFactory(Protocol):
def __call__(
self,
__loop: asyncio.AbstractEventLoop,
__factory: Coroutine[Any, Any, _T] | Generator[Any, None, _T],
loop: asyncio.AbstractEventLoop,
factory: Coroutine[Any, Any, _T] | Generator[Any, None, _T],
/,
) -> asyncio.Future[_T]: ...


Expand Down

0 comments on commit e19e929

Please sign in to comment.