Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,140 for Model (0.06 seconds)

  1. docs/en/docs/tutorial/encoder.md

    The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`.
    
    You can use `jsonable_encoder` for that.
    
    It receives an object, like a Pydantic model, and returns a JSON compatible version:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ```mermaid
    graph TB
        subgraph "❌ Not Supported"
            direction TB
            subgraph V2["Pydantic v2 Model"]
                V1Field["Pydantic v1 Model"]
            end
            subgraph V1["Pydantic v1 Model"]
                V2Field["Pydantic v2 Model"]
            end
        end
    
        style V2 fill:#f9fff3
        style V1 fill:#fff6f0
        style V1Field fill:#fff6f0
        style V2Field fill:#f9fff3
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/resources/xml/pom.xml

        <version>4.0.0-alpha-1-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-model</artifactId>
    
      <name>Maven Model</name>
      <description>Model for Maven POM (Project Object Model)</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-model</artifactId>
          <version>4.0.0-alpha-1-SNAPSHOT</version>
        </dependency>
        <dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  4. docs/ko/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ```mermaid
    graph TB
        subgraph "❌ Not Supported"
            direction TB
            subgraph V2["Pydantic v2 Model"]
                V1Field["Pydantic v1 Model"]
            end
            subgraph V1["Pydantic v1 Model"]
                V2Field["Pydantic v2 Model"]
            end
        end
    
        style V2 fill:#f9fff3
        style V1 fill:#fff6f0
        style V1Field fill:#fff6f0
        style V2Field fill:#f9fff3
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEvent.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.Model;
    
    /**
     * Holds data relevant for a model building event.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuildingEvent {
    
        /**
         * Gets the model being built. The precise state of this model depends on the event being fired.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

        @Override
        public Model read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            Model model = read(new FileInputStream(input), options);
    
            model.setPomFile(input);
    
            return model;
        }
    
        @Override
        public Model read(Reader input, Map<String, ?> options) throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java

     */
    package org.apache.maven.model.composition;
    
    import java.util.List;
    
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles the import of dependency management from other models into the target model.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. architecture/README.md

    There are several different types of requests, such as a request to run a set of tasks, or to query a tooling model, or to stop.
    Some requests will require that the build is configured and maybe some work executed, and other requests might not.
    
    See [Build execution model](build-execution-model.md) for more details.
    
    ### Build state model
    
    As Gradle executes, it acts on various pieces of the build definition, such as each project in the build.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/projects/CheckProject.kt

    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.Project
    import model.CIBuildModel
    import model.FunctionalTestBucketProvider
    import model.Stage
    import model.StageName
    import model.StatisticsBasedPerformanceTestBucketProvider
    import java.io.File
    
    class CheckProject(
        model: CIBuildModel,
        functionalTestBucketProvider: FunctionalTestBucketProvider,
    ) : Project({
            id("Check")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 10:41:06 GMT 2026
    - 4.1K bytes
    - Click Count (1)
  10. docs/en/docs/tutorial/body-updates.md

    * Retrieve the stored data.
    * Put that data in a Pydantic model.
    * Generate a `dict` without default values from the input model (using `exclude_unset`).
        * This way you can update only the values actually set by the user, instead of overriding values already stored with default values in your model.
    * Create a copy of the stored model, updating its attributes with the received partial updates (using the `update` parameter).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top