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

Method load_config

server.py:18–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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}
20 for key, value in config.items():
21 self.cfg.set(key.lower(), value)
22
23 def load(self) -> BaseApplication:
24 return self.application

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected