- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 1,186 for sync (0.05 sec)
-
docs_src/query_params_str_validations/tutorial012_an_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 227 bytes - Viewed (0) -
docs_src/response_status_code/tutorial002.py
from fastapi import FastAPI, status app = FastAPI() @app.post("/items/", status_code=status.HTTP_201_CREATED) async def create_item(name: str):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 173 bytes - Viewed (0) -
docs/pt/docs/tutorial/request_files.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.8K bytes - Viewed (0) -
docs_src/body_nested_models/tutorial008_py39.py
from fastapi import FastAPI from pydantic import BaseModel, HttpUrl app = FastAPI() class Image(BaseModel): url: HttpUrl name: str @app.post("/images/multiple/") async def create_multiple_images(images: list[Image]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 248 bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/index.md
이는 특히 **많은 *경로 작동***에서 **같은 의존성**을 계속해서 사용하는 **거대 코드 기반**안에서 사용하면 유용할 것입니다. ## `async`하게, 혹은 `async`하지 않게 의존성이 (*경로 작동 함수*에서 처럼 똑같이) **FastAPI**에 의해 호출될 수 있으며, 함수를 정의할 때 동일한 규칙이 적용됩니다. `async def`을 사용하거나 혹은 일반적인 `def`를 사용할 수 있습니다. 그리고 일반적인 `def` *경로 작동 함수* 안에 `async def`로 의존성을 선언할 수 있으며, `async def` *경로 작동 함수* 안에 `def`로 의존성을 선언하는 등의 방법이 있습니다. 아무 문제 없습니다. **FastAPI**는 무엇을 할지 알고 있습니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.5K bytes - Viewed (0) -
docs_src/body_nested_models/tutorial009.py
from typing import Dict from fastapi import FastAPI app = FastAPI() @app.post("/index-weights/") async def create_index_weights(weights: Dict[int, float]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 179 bytes - Viewed (0) -
docs_src/custom_response/tutorial006.py
from fastapi import FastAPI from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/typer") async def redirect_typer():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jul 03 19:51:28 UTC 2021 - 199 bytes - Viewed (0) -
docs/de/docs/index.md
<summary>Oder verwenden Sie <code>async def</code> ...</summary> Wenn Ihr Code `async` / `await` verwendet, benutzen Sie `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21.1K bytes - Viewed (0) -
docs/it/docs/index.md
<details markdown="1"> <summary>Oppure usa <code>async def</code>...</summary> Se il tuo codice usa `async` / `await`, allora usa `async def`: ```Python hl_lines="7 12" from fastapi import FastAPI from typing import Optional app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: Optional[str] = None):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 19.2K bytes - Viewed (0) -
docs_src/configure_swagger_ui/tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 19 19:54:04 UTC 2023 - 216 bytes - Viewed (0)