INNER CODE UNIT · Python

run_server

YichengYang-Ethan/oracle3 · oracle3/blinks/server.py:232

def run_server(host: str = '0.0.0.0', port: int = 8080) -> None:
    """Start the Blinks Action server."""
    try:
        import uvicorn
    except ImportError as exc:
        raise RuntimeError(
            'uvicorn not installed. Install with: poetry install -E blinks'
        ) from exc

    app = _build_app()
    uvicorn.run(app, host=host, port=port)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…