MCPcopy
hub / github.com/encode/uvicorn / __init__

Method __init__

uvicorn/server.py:57–66  ·  view source on GitHub ↗
(self, config: Config)

Source from the content-addressed store, hash-verified

55
56class Server:
57 def __init__(self, config: Config) -> None:
58 self.config = config
59 self.server_state = ServerState()
60
61 self.started = False
62 self.should_exit = False
63 self.force_exit = False
64 self.last_notified = 0.0
65
66 self._captured_signals: list[int] = []
67
68 @functools.cached_property
69 def limit_max_requests(self) -> int | None:

Callers

nothing calls this directly

Calls 1

ServerStateClass · 0.85

Tested by

no test coverage detected