Skip to content
New issue

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

add fastapi extra dependencies #7252

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions doc/how_to/integrations/FastAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ conda install fastapi
:::

:::{tab-item} `pip`
```pip
conda install fastapi
```bash
pip install fastapi
philippjfr marked this conversation as resolved.
Show resolved Hide resolved
```
:::

:::{tab-item} `panel`
```bash
pip install panel[fastapi]
```
:::

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ recommended = [
'pillow',
'plotly',
]
fastapi = [
'bokeh-fastapi == 0.1.0',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will only resolve after the initial release, but that should happen before the next panel release anyway. I opted for a hard-pin here since there are no BC guarantees yet for bokeh-fastapi.

'uvicorn',
]
dev = [
'watchfiles',
]
Expand Down