MCPcopy
hub / github.com/datascale-ai/opentalking / main

Function main

apps/api/main.py:53–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52
53def main() -> None:
54 settings = get_settings()
55 host = os.environ.get("OPENTALKING_API_HOST", settings.api_host)
56 port = int(os.environ.get("OPENTALKING_API_PORT", str(settings.api_port)))
57 uvicorn.run(
58 "apps.api.main:create_app",
59 host=host,
60 port=port,
61 factory=True,
62 )
63
64
65if __name__ == "__main__":

Callers 1

main.pyFile · 0.70

Calls 3

get_settingsFunction · 0.90
getMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected