Skip to content

Commit

Permalink
fix: mypy err
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Feb 13, 2024
1 parent 0088a98 commit e7181f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a_sync/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_task(coro: Awaitable[T], *, name: Optional[str] = None, skip_gc_until
__persist(task)
return task

class TaskMapping(ASyncIterable[K, V], DefaultDict[K, "asyncio.Task[V]"]):
class TaskMapping(ASyncIterable[Tuple[K, V]], DefaultDict[K, "asyncio.Task[V]"]):
def __init__(self, coro_fn: Callable[Concatenate[K, P], Awaitable[V]] = None, *iterables: AnyIterable[K], name: str = '', **coro_fn_kwargs: P.kwargs) -> None:
self._coro_fn = coro_fn
self._coro_fn_kwargs = coro_fn_kwargs
Expand Down

0 comments on commit e7181f0

Please sign in to comment.