MCPcopy Index your code
hub / github.com/hugapi/hug / _start_api

Function _start_api

hug/development_runner.py:41–42  ·  view source on GitHub ↗
(api_module, host, port, no_404_documentation, show_intro=True)

Source from the content-addressed store, hash-verified

39
40
41def _start_api(api_module, host, port, no_404_documentation, show_intro=True):
42 API(api_module).http.serve(host, port, no_404_documentation, show_intro)
43
44
45@cli(version=current)

Callers 1

hugFunction · 0.85

Calls 2

APIClass · 0.90
serveMethod · 0.80

Tested by

no test coverage detected