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

Class LifespanOff

uvicorn/lifespan/off.py:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class LifespanOff:
9 def __init__(self, config: Config) -> None:
10 self.should_exit = False
11 self.state: dict[str, Any] = {}
12
13 async def startup(self) -> None:
14 pass
15
16 async def shutdown(self) -> None:
17 pass

Callers 4

testFunction · 0.90
get_connected_protocolFunction · 0.90
get_connected_protocolFunction · 0.90

Calls

no outgoing calls

Tested by 2

testFunction · 0.72
get_connected_protocolFunction · 0.72