Open maykcaldas opened 1 day ago
Changes the type hint of gather_with_concurrency from
gather_with_concurrency
gather_with_concurrency(n: int, coros: list[Coroutine]) -> list[Any]:
to
T = TypeVar("T") async def gather_with_concurrency(n: int, coros: Iterable[Awaitable[T]]) -> list[T]:
~Also pinned pydantic version to <2.10 until they release the v2.10 bugfix.~
Changes the type hint of
gather_with_concurrency
fromgather_with_concurrency(n: int, coros: list[Coroutine]) -> list[Any]:
to
~Also pinned pydantic version to <2.10 until they release the v2.10 bugfix.~