- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 794 for annotaties (0.1 sec)
-
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
``` //// //// tab | python 3.8+ ```python hl_lines="5 13 21" {!> ../../docs_src/dependencies/tutorial008_an.py!} ``` //// //// tab | python 3.8+ non-annotated /// tip | "Dica" Utilize a versão com `Annotated` se possível. /// ```python hl_lines="4 12 20" {!> ../../docs_src/dependencies/tutorial008.py!} ``` //// E todas elas podem utilizar `yield`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.5K bytes - Viewed (0) -
docs_src/header_params/tutorial002_an_py310.py
from typing import Annotated from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items( strange_header: Annotated[str | None, Header(convert_underscores=False)] = None, ):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 261 bytes - Viewed (0) -
docs_src/request_form_models/tutorial001_an_py39.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Sep 05 15:16:50 UTC 2024 - 268 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial012_an_py39.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 227 bytes - Viewed (0) -
docs/ru/docs/tutorial/request-files.md
``` //// //// tab | Python 3.10+ без Annotated /// tip | "Подсказка" Предпочтительнее использовать версию с аннотацией, если это возможно. /// ```Python hl_lines="7 15" {!> ../../docs_src/request_files/tutorial001_02_py310.py!} ``` //// //// tab | Python 3.6+ без Annotated /// tip | "Подсказка"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.3K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial014_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( hidden_query: Annotated[Union[str, None], Query(include_in_schema=False)] = None, ): if hidden_query: return {"hidden_query": hidden_query} else:
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 344 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial006_an.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 304 bytes - Viewed (0) -
docs_src/request_files/tutorial001_an_py39.py
from typing import Annotated from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[bytes, File()]): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 322 bytes - Viewed (0) -
docs_src/request_form_models/tutorial002_pv1_an.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 322 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial006c_an_py310.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 307 bytes - Viewed (0)