mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[gunicorn] Add BaseSocket.sock (#14946)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user