From d5e2155a353d20a8eeb26fd7b4bbbe11949e2bbd Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Wed, 11 Sep 2024 18:58:59 +0200 Subject: [PATCH] add fastapi extra dependencies (#7252) --- doc/how_to/integrations/FastAPI.md | 10 ++++++++-- pyproject.toml | 4 ++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/how_to/integrations/FastAPI.md b/doc/how_to/integrations/FastAPI.md index d07f29be40..874967291b 100644 --- a/doc/how_to/integrations/FastAPI.md +++ b/doc/how_to/integrations/FastAPI.md @@ -19,8 +19,14 @@ conda install fastapi ::: :::{tab-item} `pip` -```pip -conda install fastapi +```bash +pip install fastapi +``` +::: + +:::{tab-item} `panel` +```bash +pip install panel[fastapi] ``` ::: diff --git a/pyproject.toml b/pyproject.toml index 5350afcc61..61404efaca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,10 @@ recommended = [ 'pillow', 'plotly', ] +fastapi = [ + 'bokeh-fastapi == 0.1.0', + 'uvicorn', +] dev = [ 'watchfiles', ]