MCPcopy Index your code
hub / github.com/plotly/dash / __init__

Method __init__

dash/backends/_fastapi.py:260–268  ·  view source on GitHub ↗
(self, server: FastAPI)

Source from the content-addressed store, hash-verified

258 websocket_capability: bool = True
259
260 def __init__(self, server: FastAPI):
261 super().__init__(server)
262 self.server_type = "fastapi"
263 self.error_handling_mode = "ignore"
264 self.request_adapter = FastAPIRequestAdapter
265 self.response_adapter = FastAPIResponseAdapter
266 self._before_request_funcs = []
267 self._after_request_func = None
268 self._enable_timing = False
269
270 def __call__(self, *args: Any, **kwargs: Any):
271 # ASGI: pass through to FastAPI

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected