Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 941 for ModelB (0.04 sec)

  1. tests/test_tuples.py

        response = client.post("/tuple-of-models/", json=data)
        assert response.status_code == 422, response.text
    
        data = [{"x": 1, "y": 2}]
        response = client.post("/tuple-of-models/", json=data)
        assert response.status_code == 422, response.text
    
    
    def test_tuple_form_valid():
        response = client.post("/tuple-form/", data={"values": ("1", "2")})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/pom.xml

                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
                    <model>src/main/mdo/remote-resources.mdo</model>
                  </models>
                </configuration>
              </execution>
              <execution>
                <id>supplemental-models</id>
                <goals>
                  <goal>xpp3-writer</goal>
                  <goal>java</goal>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    It's **not supported** by Pydantic to have a model of Pydantic v2 with its own fields defined as Pydantic v1 models or vice versa.
    
    ```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
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body.md

    It improves editor support for Pydantic models, with:
    
    * auto-completion
    * type checks
    * refactoring
    * searching
    * inspections
    
    ///
    
    ## Use the model { #use-the-model }
    
    Inside of the function, you can access all the attributes of the model object directly:
    
    {* ../../docs_src/body/tutorial002_py310.py *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-updates.md

    ///
    
    /// note
    
    Notice that the input model is still validated.
    
    So, if you want to receive partial updates that can omit all the attributes, you need to have a model with all the attributes marked as optional (with default values or `None`).
    
    To distinguish from the models with all optional values for **updates** and models with required values for **creation**, you can use the ideas described in [Extra Models](extra-models.md){.internal-link target=_blank}.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/body-nested-models.md

    以下のように:
    
    {* ../../docs_src/body_nested_models/tutorial008.py hl[15] *}
    
    ## あらゆる場所でのエディタサポート
    
    エディタのサポートもどこでも受けることができます。
    
    以下のようにリストの中の項目でも:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/body-nested-models/image01.png">
    
    Pydanticモデルではなく、`dict`を直接使用している場合はこのようなエディタのサポートは得られません。
    
    しかし、それらについて心配する必要はありません。入力された辞書は自動的に変換され、出力も自動的にJSONに変換されます。
    
    ## 任意の`dict`のボディ
    
    また、ある型のキーと別の型の値を持つ`dict`としてボディを宣言することもできます。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. compat/maven-repository-metadata/pom.xml

                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
                    <model>../../api/maven-api-metadata/src/main/mdo/metadata.mdo</model>
                  </models>
                  <templates>
                    <template>model-v3.vm</template>
                  </templates>
                </configuration>
              </execution>
            </executions>
          </plugin>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Model for Input { #model-for-input }
    
    If you use this model as an input like here:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ...then the `description` field will **not be required**. Because it has a default value of `None`.
    
    ### Input Model in Docs { #input-model-in-docs }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. api/maven-api-model/pom.xml

              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/maven.mdo</model>
              </models>
              <templates>
                <template>model.vm</template>
              </templates>
              <params>
                <param>packageModelV4=org.apache.maven.api.model</param>
                <param>isMavenModel=true</param>
                <param>locationTracking=true</param>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Sep 16 12:39:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/site/apt/inheritance.apt

     * The maven super model
    
     * how parent poms are processed
    
     * the order in which elements in the POM are overridden
    
     * minimum element-set for a valid project pom
    
    
    Maven super model
    
     Inheritance is recursive in Maven but there is a special model which is the implicit super parent in the lineage
     of models you may specify:
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top