Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,116 for Model2 (0.08 sec)

  1. docs/en/docs/advanced/dataclasses.md

    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import java.util.Properties;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.resolution.ModelResolver;
    import org.apache.maven.model.resolution.WorkspaceModelResolver;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/additional-responses.md

    ## Response Adicional con `model` { #additional-response-with-model }
    
    Puedes pasar a tus *decoradores de path operation* un parámetro `responses`.
    
    Recibe un `dict`: las claves son los códigos de estado para cada response (como `200`), y los valores son otros `dict`s con la información para cada uno de ellos.
    
    Cada uno de esos `dict`s de response puede tener una clave `model`, conteniendo un modelo de Pydantic, así como `response_model`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/additional-responses.md

    Jedes dieser Response-`dict`s kann einen Schlüssel `model` haben, welcher ein Pydantic-Modell enthält, genau wie `response_model`.
    
    **FastAPI** nimmt dieses Modell, generiert dessen JSON-Schema und fügt es an der richtigen Stelle in OpenAPI ein.
    
    Um beispielsweise eine weitere Response mit dem Statuscode `404` und einem Pydantic-Modell `Message` zu deklarieren, können Sie schreiben:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. fastapi/encoders.py

            Doc(
                """
                Pydantic's `include` parameter, passed to Pydantic models to set the
                fields to include.
                """
            ),
        ] = None,
        exclude: Annotated[
            Optional[IncEx],
            Doc(
                """
                Pydantic's `exclude` parameter, passed to Pydantic models to set the
                fields to exclude.
                """
            ),
        ] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/events.md

    Imaginemos que cargar el modelo puede **tomar bastante tiempo**, porque tiene que leer muchos **datos del disco**. Entonces no quieres hacerlo para cada request.
    
    Podrías cargarlo en el nivel superior del módulo/archivo, pero eso también significaría que **cargaría el modelo** incluso si solo estás ejecutando una simple prueba automatizada, entonces esa prueba sería **lenta** porque tendría que esperar a que el modelo se cargue antes de poder ejecutar una parte independiente del código.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the raw model to build. If not set, model source will be used to load raw model.
         *
         * @return The raw model to build or {@code null} if not set.
         */
        Model getRawModel();
    
        /**
         * Set raw model.
         *
         * @param rawModel
         */
        ModelBuildingRequest setRawModel(Model rawModel);
    
        /**
         * Gets the source of the POM to process.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/site/apt/super-pom.apt.vm

    ~~ under the License.
    
     -----
     Super POM
     -----
     Hervé Boutemy
     -----
     2011-09-12
     -----
    
    Super POM
    
     All models implicitly inherit from a super-POM:
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/body.md

    Es verbessert die Editor-Unterstützung für Pydantic-Modelle, mit:
    
    * Code-Vervollständigung
    * Typüberprüfungen
    * Refaktorisierung
    * Suche
    * Inspektionen
    
    ///
    
    ## Das Modell verwenden { #use-the-model }
    
    Innerhalb der Funktion können Sie alle Attribute des Modellobjekts direkt verwenden:
    
    {* ../../docs_src/body/tutorial002_py310.py *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top