Skip to content

Commit bdb55f1

Browse files
authored
[gunicorn] Fix type of Arbiter.LISTENERS (#14945)
1 parent 6fe6597 commit bdb55f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/gunicorn/gunicorn/arbiter.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import socket
21
from types import FrameType
32
from typing import ClassVar
43

54
from gunicorn.app.base import BaseApplication
65
from gunicorn.config import Config
76
from gunicorn.glogging import Logger as GLogger
7+
from gunicorn.sock import BaseSocket
88
from gunicorn.workers.base import Worker
99

1010
from ._types import _AddressType
@@ -14,7 +14,7 @@ class Arbiter:
1414
WORKER_BOOT_ERROR: ClassVar[int]
1515
APP_LOAD_ERROR: ClassVar[int]
1616
START_CTX: ClassVar[dict[int | str, str | list[str]]]
17-
LISTENERS: ClassVar[list[socket.socket]]
17+
LISTENERS: ClassVar[list[BaseSocket]]
1818
WORKERS: ClassVar[dict[int, Worker]]
1919
PIPE: ClassVar[list[int]]
2020
SIG_QUEUE: ClassVar[list[int]]

0 commit comments

Comments
 (0)