- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 83 for tutorial003_01_py310 (0.13 seconds)
-
docs/zh/docs/tutorial/body-multiple-params.md
例如,为了扩展先前的模型,你可能决定除了 `item` 和 `user` 之外,还想在同一请求体中具有另一个键 `importance`。 如果你就按原样声明它,因为它是一个单一值,**FastAPI** 将假定它是一个查询参数。 但是你可以使用 `Body` 指示 **FastAPI** 将其作为请求体的另一个键进行处理。 {* ../../docs_src/body_multiple_params/tutorial003_an_py310.py hl[23] *} 在这种情况下,**FastAPI** 将期望像这样的请求体: ```JSON { "item": { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2 },Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/schema-extra-example.md
### `Body` com `examples` { #body-with-examples } Aqui passamos `examples` contendo um exemplo dos dados esperados em `Body()`: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### Exemplo na UI da documentação { #example-in-the-docs-ui } Com qualquer um dos métodos acima, ficaria assim em `/docs`: <img src="/img/tutorial/body-fields/image01.png">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/es/docs/tutorial/schema-extra-example.md
### `Body` con `examples` { #body-with-examples } Aquí pasamos `examples` que contiene un ejemplo de los datos esperados en `Body()`: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### Ejemplo en la interfaz de documentación { #example-in-the-docs-ui } Con cualquiera de los métodos anteriores se vería así en los `/docs`: <img src="/img/tutorial/body-fields/image01.png">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/de/docs/tutorial/schema-extra-example.md
### `Body` mit `examples` { #body-with-examples } Hier übergeben wir `examples`, welches ein einzelnes Beispiel für die in `Body()` erwarteten Daten enthält: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### Beispiel in der Dokumentations-Benutzeroberfläche { #example-in-the-docs-ui } Mit jeder der oben genannten Methoden würde es in `/docs` so aussehen:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/en/docs/tutorial/schema-extra-example.md
### `Body` with `examples` { #body-with-examples } Here we pass `examples` containing one example of the data expected in `Body()`: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### Example in the docs UI { #example-in-the-docs-ui } With any of the methods above it would look like this in the `/docs`: <img src="/img/tutorial/body-fields/image01.png">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/schema-extra-example.md
### `Body` з `examples` Тут ми передаємо `examples`, які містять один приклад очікуваних даних у `Body()`: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### Приклад у UI документації За допомогою будь-якого з наведених вище методів це виглядатиме так у документації за `/docs`: <img src="/img/tutorial/body-fields/image01.png">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jun 09 19:35:48 GMT 2025 - 13.4K bytes - Click Count (0) -
docs/ko/docs/tutorial/schema-extra-example.md
* `File()` **OpenAPI**의 **JSON 스키마**에 추가될 부가적인 정보를 포함한 `examples` 모음을 선언할 수 있습니다. ### `examples`를 포함한 `Body` 여기, `Body()`에 예상되는 예제 데이터 하나를 포함한 `examples`를 넘겼습니다: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### 문서 UI 예시 위의 어느 방법과 함께라면 `/docs`에서 다음과 같이 보일 것입니다: <img src="/img/tutorial/body-fields/image01.png"> ### 다중 `examples`를 포함한 `Body` 물론 여러 `examples`를 넘길 수 있습니다:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 10.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
## Больше валидаций { #add-more-validations } Можно также добавить параметр `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Регулярные выражения { #add-regular-expressions }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 26.2K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
## Add more validations { #add-more-validations } You can also add a parameter `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Add regular expressions { #add-regular-expressions }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-params-str-validations.md
## Додавання додаткових валідацій Ви також можете додати параметр `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Додавання регулярних виразівCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 30 14:17:24 GMT 2025 - 26.1K bytes - Click Count (0)