Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
xinetzone committed Apr 3, 2024
1 parent 5633892 commit dedb3d8
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 1 deletion.
9 changes: 9 additions & 0 deletions doc/ui/fastapi/GraphQL.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@
"下面是关于如何将 Strawberry 与 FastAPI 集成的小样例:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install -q fastapi uvicorn strawberry"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
9 changes: 9 additions & 0 deletions doc/ui/fastapi/NiceGUI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
"# 集成 NiceGUI"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install -q fastapi nicegui uvicorn"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
9 changes: 9 additions & 0 deletions doc/ui/fastapi/dash.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
"首先定义 Dash 子应用:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install -q fastapi uvicorn dash"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
9 changes: 9 additions & 0 deletions doc/ui/fastapi/request.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
"为此,你需要直接访问请求对象。"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install -q fastapi uvicorn"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down
2 changes: 1 addition & 1 deletion doc/ui/fastapi/use-jupyter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q fastapi"
"!pip install -q fastapi uvicorn"
]
},
{
Expand Down

0 comments on commit dedb3d8

Please sign in to comment.