Skip to content

Commit d3054d8

Browse files
committed
fix imports
1 parent 38e29e3 commit d3054d8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stubs/gunicorn/gunicorn/workers/gasgi.pyi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import asyncio
21
from _typeshed import Incomplete
2+
from asyncio.base_events import Server
3+
from asyncio.events import AbstractEventLoop
34
from typing import NoReturn
45

56
from gunicorn.asgi.lifespan import LifespanManager
@@ -11,8 +12,8 @@ from .._types import _ASGIAppType
1112

1213
class ASGIWorker(base.Worker):
1314
worker_connections: int
14-
loop: asyncio.AbstractEventLoopPolicy | None
15-
servers: list[asyncio.Server]
15+
loop: AbstractEventLoop | None
16+
servers: list[Server]
1617
nr_conns: int
1718
lifespan: LifespanManager | None
1819
state: dict[Incomplete, Incomplete]

0 commit comments

Comments
 (0)