- Sort Score
- Result 10 results
- Languages All
Results 21 - 23 of 23 for details (0.17 sec)
-
docs/vi/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Hoặc sử dụng <code>async def</code>...</summary> Nếu code của bạn sử dụng `async` / `await`, hãy sử dụng `async def`: ```Python hl_lines="9 14" from typing import Union
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/yo/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Tàbí lò <code>async def</code>...</summary> Tí kóòdù rẹ̀ bá ń lò `async` / `await`, lò `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 24.1K bytes - Viewed (0) -
docs/ja/docs/index.md
INFO: Application startup complete. ``` </div> <details markdown="1"> <summary><code>uvicorn main:app --reload</code>コマンドについて</summary> `uvicorn main:app`コマンドは以下の項目を参照します: - `main`: `main.py`ファイル (Python "モジュール") - `app`: `main.py` の`app = FastAPI()`の行で生成されたオブジェクト - `--reload`: コードを変更したらサーバーを再起動します。このオプションは開発環境でのみ使用します </details> ### 動作確認
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21K bytes - Viewed (0)