Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 627 for module (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    ## `response_model`-Parameter { #response-model-parameter }
    
    Es gibt Fälle, da möchten oder müssen Sie Daten zurückgeben, die nicht genau dem entsprechen, was der Typ deklariert.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/response-model.md

    ///
    
    ## Bir output modeli ekleyin { #add-an-output-model }
    
    Bunun yerine, plaintext password içeren bir input modeli ve password’ü içermeyen bir output modeli oluşturabiliriz:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/response-model.md

    ## See it in the docs { #see-it-in-the-docs }
    
    When you see the automatic docs, you can check that the input model and output model will both have their own JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    And both models will be used for the interactive API documentation:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Other Return Type Annotations { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/response-model.md

    ## 문서에서 보기 { #see-it-in-the-docs }
    
    자동 생성 문서를 보면 입력 모델과 출력 모델이 각자의 JSON Schema를 가지고 있음을 확인할 수 있습니다:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    그리고 두 모델 모두 대화형 API 문서에 사용됩니다:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 기타 반환 타입 어노테이션 { #other-return-type-annotations }
    
    유효한 Pydantic 필드가 아닌 것을 반환하면서도, 도구(에디터, mypy 등)가 제공하는 지원을 받기 위해 함수에 어노테이션을 달아두는 경우가 있을 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. 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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/response-model.md

    这样,你就能兼得两方面的优势:带有**工具支持**的类型注解和**数据过滤**。
    
    ## 在文档中查看 { #see-it-in-the-docs }
    
    当你查看自动文档时,你会看到输入模型和输出模型都会有各自的 JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    并且两个模型都会用于交互式 API 文档:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 其他返回类型注解 { #other-return-type-annotations }
    
    有些情况下你会返回一些不是有效 Pydantic 字段的内容,并在函数上做了相应注解,只是为了获得工具链(编辑器、mypy 等)的支持。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/encoder.md

    De la même manière, cette base de données n'accepterait pas un modèle Pydantic (un objet avec des attributs), seulement un `dict`.
    
    Vous pouvez utiliser `jsonable_encoder` pour cela.
    
    Elle reçoit un objet, comme un modèle Pydantic, et renvoie une version compatible JSON :
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    Dans cet exemple, elle convertirait le modèle Pydantic en `dict`, et le `datetime` en `str`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/body-nested-models.md

    Y también se anotará/documentará en consecuencia.
    
    ## Modelos Anidados { #nested-models }
    
    Cada atributo de un modelo Pydantic tiene un tipo.
    
    Pero ese tipo puede ser en sí mismo otro modelo Pydantic.
    
    Así que, puedes declarar "objetos" JSON anidados profundamente con nombres de atributos específicos, tipos y validaciones.
    
    Todo eso, de manera arbitraria.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/cookie-param-models.md

    ///
    
    ## Cookies con un Modelo de Pydantic { #cookies-with-a-pydantic-model }
    
    Declara los parámetros de **cookie** que necesites en un **modelo de Pydantic**, y luego declara el parámetro como `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** **extraerá** los datos para **cada campo** de las **cookies** recibidas en el request y te entregará el modelo de Pydantic que definiste.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/header-param-models.md

    # Modelos de Parámetros de Header { #header-parameter-models }
    
    Si tienes un grupo de **parámetros de header** relacionados, puedes crear un **modelo Pydantic** para declararlos.
    
    Esto te permitirá **reutilizar el modelo** en **múltiples lugares** y también declarar validaciones y metadatos para todos los parámetros al mismo tiempo. 😎
    
    /// note | Nota
    
    Esto es compatible desde la versión `0.115.0` de FastAPI. 🤓
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top