Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 345 for model (0.08 sec)

  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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. 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 }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (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 }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/response-model.md

    Cuando veas la documentación automática, puedes verificar que el modelo de entrada y el modelo de salida tendrán cada uno su propio JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    Y ambos modelos se utilizarán para la documentación interactiva de la API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Otras Anotaciones de Tipos de Retorno { #other-return-type-annotations }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  5. 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 }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/extra-models.md

    # Extra Models { #extra-models }
    
    Continuing with the previous example, it will be common to have more than one related model.
    
    This is especially the case for user models, because:
    
    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. tests/test_filter_pydantic_sub_model_pv2.py

                return name
    
        async def get_model_c() -> ModelC:
            return ModelC(username="test-user", password="test-password")
    
        @app.get("/model/{name}", response_model=ModelA)
        async def get_model_a(name: str, model_c=Depends(get_model_c)):
            return {
                "name": name,
                "description": "model-a-desc",
                "foo": model_c,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/cookie-param-models.md

    ///
    
    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. tests/test_response_model_as_return_annotation.py

                                    "application/json": {
                                        "schema": {
                                            "title": "Response Response Model List Of Model No Annotation Response Model List Of Model No Annotation Get",
                                            "type": "array",
                                            "items": {"$ref": "#/components/schemas/User"},
                                        }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

    import org.apache.maven.api.model.Build;
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.DependencyManagement;
    import org.apache.maven.api.model.DeploymentRepository;
    import org.apache.maven.api.model.Extension;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.api.model.ReportPlugin;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
Back to top