- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 369 for redeclare (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh-hant/docs/tutorial/schema-extra-example.md
# 宣告請求範例資料 { #declare-request-example-data } 你可以宣告你的應用程式可接收資料的 examples。 以下有數種方式可達成。 ## Pydantic 模型中的額外 JSON Schema 資料 { #extra-json-schema-data-in-pydantic-models } 你可以為 Pydantic 模型宣告 `examples`,它們會加入到產生出的 JSON Schema 中。 {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *} 這些額外資訊會原封不動加入該模型輸出的 JSON Schema,並且會用在 API 文件裡。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.4K bytes - Click Count (0) -
README.md
 ## Example upgrade Now modify the file `main.py` to receive a body from a `PUT` request. Declare the body using standard Python types, thanks to Pydantic. ```Python hl_lines="2 7-10 23-25" from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 24.3K bytes - Click Count (0) -
docs/es/docs/tutorial/path-params.md
Si te estás preguntando, "AlexNet", "ResNet" y "LeNet" son solo nombres de <dfn title="Técnicamente, arquitecturas de modelos de Deep Learning">modelos</dfn> de Machine Learning. /// ### Declarar un *path parameter* { #declare-a-path-parameter } Luego crea un *path parameter* con una anotación de tipo usando la clase enum que creaste (`ModelName`): {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/ko/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial005_py310.py hl[1,6:9] *} /// tip | 팁 혹시 궁금하다면, "AlexNet", "ResNet", 그리고 "LeNet"은 그저 머신 러닝 <dfn title="기술적으로는 딥 러닝 모델 아키텍처">모델</dfn>들의 이름입니다. /// ### *경로 매개변수* 선언 { #declare-a-path-parameter } 생성한 열거형 클래스(`ModelName`)를 사용하는 타입 어노테이션으로 *경로 매개변수를* 만듭니다: {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *} ### 문서 확인 { #check-the-docs }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/index.md
/// ### 导入 `Depends` { #import-depends } {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### 在“dependant”中声明依赖项 { #declare-the-dependency-in-the-dependant } 与在*路径操作函数*的参数中使用 `Body`、`Query` 等相同,给参数使用 `Depends` 来声明一个新的依赖项: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/fr/docs/advanced/custom-response.md
vous déclarez une `response_class` avec un media type JSON (`application/json`), comme c'est le cas avec `JSONResponse`, les données que vous renvoyez seront automatiquement converties (et filtrées) avec tout `response_model` Pydantic que vous avez déclaré dans le décorateur de *chemin d'accès*. Mais les données ne seront pas sérialisées en octets JSON avec Pydantic, elles seront converties avec le `jsonable_encoder` puis passées à la classe `JSONResponse`, qui les sérialisera en octets en utilisant...
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/path-params.md
然後建立具有固定值的類別屬性,這些就是可用的有效值: {* ../../docs_src/path_params/tutorial005_py310.py hl[1,6:9] *} /// tip 如果你在想,「AlexNet」、「ResNet」和「LeNet」只是一些機器學習 <dfn title="嚴格來說是深度學習的模型架構">模型</dfn> 的名字。 /// ### 宣告一個「路徑參數」 { #declare-a-path-parameter } 接著使用你建立的列舉類別(`ModelName`)作為型別註記,建立一個「路徑參數」: {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *} ### 查看文件 { #check-the-docs } 因為「路徑參數」的可用值是預先定義的,互動式文件可以很漂亮地顯示它們:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. */ public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 9.2K bytes - Click Count (0) -
docs/uk/docs/tutorial/path-params.md
Якщо вам цікаво, «AlexNet», «ResNet» та «LeNet» — це просто назви моделей машинного навчання <dfn title="Технічно, архітектури моделей глибокого навчання">моделі</dfn>. /// ### Оголосіть *параметр шляху* { #declare-a-path-parameter } Потім створіть *параметр шляху* з анотацією типу, використовуючи створений вами клас enum (`ModelName`): {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 14K bytes - Click Count (0) -
docs/uk/docs/tutorial/schema-extra-example.md
# Декларування прикладів вхідних даних { #declare-request-example-data } Ви можете задати приклади даних, які ваш застосунок може отримувати. Ось кілька способів, як це зробити. ## Додаткові дані Схеми JSON у моделях Pydantic { #extra-json-schema-data-in-pydantic-models } Ви можете задати `examples` для моделі Pydantic, які буде додано до згенерованої Схеми JSON. {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 13.3K bytes - Click Count (0)