Skip to content

app

create_app() #

Create server and return FastAPI application for uvicorn/gunicorn.

Source code in cogip/tools/robotcam/app.py
 6
 7
 8
 9
10
11
def create_app() -> FastAPI:
    """
    Create server and return FastAPI application for uvicorn/gunicorn.
    """
    server = CameraServer()
    return server.app