MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / __init__

Method __init__

server.py:13–16  ·  view source on GitHub ↗
(self, application: BaseApplication, option: dict[str, Any] | None = None)

Source from the content-addressed store, hash-verified

11
12class StandaloneApplication(BaseApplication):
13 def __init__(self, application: BaseApplication, option: dict[str, Any] | None = None) -> None:
14 self.options = option or {}
15 self.application = application
16 super().__init__()
17
18 def load_config(self) -> None:
19 config = {key: value for key, value in self.options.items() if key in self.cfg.settings and value is not None}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected