Documentation Contents
Rest.serve()
Serve this FastAPI application via uvicorn.run().
uvicorn.run()
host (str) – Bind socket to this host.
port (int) – Bind socket to this port.
log_level (str) – App logging level, valid options are {‘critical’, ‘error’, ‘warning’, ‘info’, ‘debug’, ‘trace’}.
**kwargs – Additional arguments to be passed to uvicorn.run().
Notes
This method is blocking and does not return.