Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 305 for Models (0.09 seconds)

  1. docs/ru/docs/tutorial/response-model.md

    В автоматической документации вы увидите, что у входной и выходной моделей есть свои JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    И обе модели используются в интерактивной документации API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Другие аннотации возвращаемых типов { #other-return-type-annotations }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/response-model.md

    따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다.
    
    ## 문서에서 보기
    
    자동 생성 문서를 보면 입력 모델과 출력 모델이 각자의 JSON 스키마를 가지고 있음을 확인할 수 있습니다:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    그리고 두 모델 모두 대화형 API 문서에 사용됩니다:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 응답 모델 인코딩 매개변수
    
    응답 모델은 아래와 같이 기본값을 가질 수 있습니다:
    
    {* ../../docs_src/response_model/tutorial004.py hl[11,13:14] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/response-model.md

    Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    E ambos os modelos serão usados ​​para a documentação interativa da API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Outras anotações de tipo de retorno { #other-return-type-annotations }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. docs/de/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Es wird von Pydantic **nicht unterstützt**, dass ein Pydantic‑v2‑Modell Felder hat, die als Pydantic‑v1‑Modelle definiert sind, und umgekehrt.
    
    ```mermaid
    graph TB
        subgraph "❌ Nicht unterstützt"
            direction TB
            subgraph V2["Pydantic-v2-Modell"]
                V1Field["Pydantic-v1-Modell"]
            end
            subgraph V1["Pydantic-v1-Modell"]
                V2Field["Pydantic-v2-Modell"]
            end
        end
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/additional-responses.md

    ## Réponse supplémentaire avec `model`
    
    Vous pouvez ajouter à votre décorateur de *paramètre de chemin* un paramètre `responses`.
    
    Il prend comme valeur un `dict` dont les clés sont des codes HTTP pour chaque réponse, comme `200`, et la valeur de ces clés sont d'autres `dict` avec des informations pour chacun d'eux.
    
    Chacun de ces `dict` de réponse peut avoir une clé `model`, contenant un modèle Pydantic, tout comme `response_model`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/response-model.md

    ## ドキュメントを見る
    
    自動ドキュメントを見ると、入力モデルと出力モデルがそれぞれ独自のJSON Schemaを持っていることが確認できます。
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png">
    
    そして、両方のモデルは、対話型のAPIドキュメントに使用されます:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png">
    
    ## レスポンスモデルのエンコーディングパラメータ
    
    レスポンスモデルにはデフォルト値を設定することができます:
    
    {* ../../docs_src/response_model/tutorial004.py hl[11,13,14] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/response-model.md

    因此,**FastAPI** 将会负责过滤掉未在输出模型中声明的所有数据(使用 Pydantic)。
    
    ## 在文档中查看
    
    当你查看自动化文档时,你可以检查输入模型和输出模型是否都具有自己的 JSON Schema:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png">
    
    并且两种模型都将在交互式 API 文档中使用:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png">
    
    ## 响应模型编码参数
    
    你的响应模型可以具有默认值,例如:
    
    {* ../../docs_src/response_model/tutorial004.py hl[11,13:14] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Crie seu modelo de dados { #create-your-data-model }
    
    Então você declara seu modelo de dados como uma classe que herda `BaseModel`.
    
    Utilize os tipos Python padrão para todos os atributos:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/additional-status-codes.md

    # Additional Status Codes { #additional-status-codes }
    
    By default, **FastAPI** will return the responses using a `JSONResponse`, putting the content you return from your *path operation* inside of that `JSONResponse`.
    
    It will use the default status code or the one you set in your *path operation*.
    
    ## Additional status codes { #additional-status-codes_1 }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/body-fields.md

    ///
    
    ## Declarar atributos del modelo { #declare-model-attributes }
    
    Después puedes utilizar `Field` con los atributos del modelo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` funciona de la misma manera que `Query`, `Path` y `Body`, tiene todos los mismos parámetros, etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top