We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think for the first release we should aim for two things:
def bokeh_fastapi.add_bokeh_apps(app: FastApi, bokeh_apps: dict[str, typing.Any]) -> None similar to what we have in
def bokeh_fastapi.add_bokeh_apps(app: FastApi, bokeh_apps: dict[str, typing.Any]) -> None
bokeh-fastapi/test.py
Line 209 in 0c0fdc0
This makes it easy to integrate into an existing FastAPI server.
def bokeh_fastapi.serve(apps: dict[str, typing.Any]) -> None which is basically
def bokeh_fastapi.serve(apps: dict[str, typing.Any]) -> None
def bokeh_fastapi.serve(apps: dict[str, typing.Any]) -> None: import uvicorn app = FastAPI() add_bokeh_apps(app, apps) uvicorn.run(app)
We could also wrap 2. into a CLI command, i.e. bokeh-fastapi serve.
bokeh-fastapi serve
Thoughts?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think for the first release we should aim for two things:
def bokeh_fastapi.add_bokeh_apps(app: FastApi, bokeh_apps: dict[str, typing.Any]) -> None
similar to what we have inbokeh-fastapi/test.py
Line 209 in 0c0fdc0
This makes it easy to integrate into an existing FastAPI server.
def bokeh_fastapi.serve(apps: dict[str, typing.Any]) -> None
which is basicallyWe could also wrap 2. into a CLI command, i.e.
bokeh-fastapi serve
.Thoughts?
The text was updated successfully, but these errors were encountered: