in app/lib/config.py [0:0]
def __init__(self, yml: dict):
assert yml, f"No server configuration directives could be found in {CONFIG_FILE}!"
self.bind = yml["bind"]
self.port = int(yml["port"])
self.error_reporting = yml.get("error_reporting", "json")