[gunicorn] Add BaseSocket.sock (#14946)

This commit is contained in:
Topher Brown
2025-10-30 13:28:18 -04:00
committed by GitHub
parent 947ec497ec
commit 6fe65977df
+2
View File
@@ -9,6 +9,8 @@ from gunicorn.glogging import Logger as GLogger
from .config import Config
class BaseSocket:
sock: socket.socket
def __init__(self, address: str, conf: Config, log: GLogger, fd: SupportsIndex | None = None) -> None: ...
def __getattr__(self, name: str) -> Any: ...
def set_options(self, sock: socket.socket, bound: bool = False) -> socket.socket: ...