We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e29e3 commit d3054d8Copy full SHA for d3054d8
stubs/gunicorn/gunicorn/workers/gasgi.pyi
@@ -1,5 +1,6 @@
1
-import asyncio
2
from _typeshed import Incomplete
+from asyncio.base_events import Server
3
+from asyncio.events import AbstractEventLoop
4
from typing import NoReturn
5
6
from gunicorn.asgi.lifespan import LifespanManager
@@ -11,8 +12,8 @@ from .._types import _ASGIAppType
11
12
13
class ASGIWorker(base.Worker):
14
worker_connections: int
- loop: asyncio.AbstractEventLoopPolicy | None
15
- servers: list[asyncio.Server]
+ loop: AbstractEventLoop | None
16
+ servers: list[Server]
17
nr_conns: int
18
lifespan: LifespanManager | None
19
state: dict[Incomplete, Incomplete]
0 commit comments