- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for Elias (0.18 sec)
-
docs/ru/docs/tutorial/dependencies/index.md
=== "Python 3.8+" ```Python hl_lines="15 19 24" {!> ../../../docs_src/dependencies/tutorial001_02_an.py!} ``` !!! tip "Подсказка" Это стандартный синтаксис python и называется "type alias", это не особенность **FastAPI**. Но потому что **FastAPI** базируется на стандартах Python, включая `Annotated`, вы можете использовать этот трюк в вашем коде. 😎
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.7K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
Das trifft auch auf `response_model_by_alias` zu, welches ähnlich funktioniert. === "Python 3.10+" ```Python hl_lines="29 35" {!> ../../../docs_src/response_model/tutorial005_py310.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:58 GMT 2024 - 19.9K bytes - Viewed (0) -
docs/em/docs/tutorial/response-model.md
!!! tip ✋️ ⚫️ 👍 ⚙️ 💭 🔛, ⚙️ 💗 🎓, ↩️ 👫 🔢. 👉 ↩️ 🎻 🔗 🏗 👆 📱 🗄 (& 🩺) 🔜 1️⃣ 🏁 🏷, 🚥 👆 ⚙️ `response_model_include` ⚖️ `response_model_exclude` 🚫 🔢. 👉 ✔ `response_model_by_alias` 👈 👷 ➡. === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="31 37" {!> ../../../docs_src/response_model/tutorial005.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 16K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
``` ## Резюме Вы можете объявлять дополнительные правила валидации и метаданные для ваших параметров запроса. Общие метаданные: * `alias` * `title` * `description` * `deprecated` * `include_in_schema` Специфичные правила валидации для строк: * `min_length` * `max_length` * `regex`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 38K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` * The new parameter fields are: * `default_factory` * `alias_priority` * `validation_alias` * `serialization_alias` * `discriminator` * `strict` * `multiple_of` * `allow_inf_nan` * `max_digits` * `decimal_places` * `json_schema_extra`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs_src/path_params_numeric_validations/tutorial001_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 332 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial009_an.py
from typing import Union from fastapi import FastAPI, Query from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items(q: Annotated[Union[str, None], Query(alias="item-query")] = None): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q})
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 356 bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial001.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 364 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ Union[str, None], Query( alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 635 bytes - Viewed (0) -
docs/ko/docs/tutorial/query-params-str-validations.md
마치 다음과 같습니다: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` 그러나 `item-query`은 유효한 파이썬 변수 이름이 아닙니다. 가장 가까운 것은 `item_query`일 겁니다. 하지만 정확히`item-query`이길 원합니다... 이럴 경우 `alias`를 선언할 수 있으며, 해당 별칭은 매개변수 값을 찾는 데 사용됩니다: ```Python hl_lines="9" {!../../../docs_src/query_params_str_validations/tutorial009.py!} ``` ## 매개변수 사용하지 않게 하기 이제는 더이상 이 매개변수를 마음에 들어하지 않는다고 가정해 봅시다.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 9.6K bytes - Viewed (0)