Skip to content

Commit 355b86e

Browse files
committedMar 14, 2025
fix: update return value of Pool.__await__()
1 parent 7b11a43 commit 355b86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎asyncpg-stubs/pool.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ class Pool(Generic[_Record]):
600600
async def close(self) -> None: ...
601601
def terminate(self) -> None: ...
602602
async def expire_connections(self) -> None: ...
603-
def __await__(self) -> Generator[Any, None, Self | None]: ...
603+
def __await__(self) -> Generator[Any, None, Self]: ...
604604
async def __aenter__(self) -> Self: ...
605605
async def __aexit__(self, *exc: object) -> None: ...
606606

0 commit comments

Comments
 (0)