Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 203 for model2 (0.09 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy

                builder.run()
            }
    
            then:
            models.size() == 4
    
            and:
            CustomModel model1 = models.get(0)
            model1.value == 1
    
            and:
            GradleProject gradleProject = models.get(1)
            gradleProject.name == "hello-world"
    
            and:
            CustomModel model2 = models.get(2)
            model2.value == 2
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:20:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java

     * under the License.
     */
    package org.apache.maven.model.inheritance;
    
    import java.io.InputStream;
    import java.io.StringReader;
    
    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.InputSource;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenMerger;
    import org.apache.maven.model.v4.MavenStaxReader;
    import org.junit.jupiter.api.Test;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Sep 05 16:06:44 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. 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}
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/extra-models.md

    # Extramodelle
    
    Fahren wir beim letzten Beispiel fort. Es gibt normalerweise mehrere zusammengehörende Modelle.
    
    Insbesondere Benutzermodelle, denn:
    
    * Das **hereinkommende Modell** sollte ein Passwort haben können.
    * Das **herausgehende Modell** sollte kein Passwort haben.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/body-nested-models.md

    ## Modelos aninhados
    
    Cada atributo de um modelo Pydantic tem um tipo.
    
    Mas esse tipo pode ser outro modelo Pydantic.
    
    Portanto, você pode declarar "objects" JSON profundamente aninhados com nomes, tipos e validações de atributos específicos.
    
    Tudo isso, aninhado arbitrariamente.
    
    ### Defina um sub-modelo
    
    Por exemplo, nós podemos definir um modelo `Image`:
    
    ```Python hl_lines="9-11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. docs/de/docs/reference/openapi/models.md

    # OpenAPI-`models`
    
    OpenAPI Pydantic-Modelle, werden zum Generieren und Validieren der generierten OpenAPI verwendet.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:15:17 UTC 2024
    - 146 bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

    # 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
        Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-nested-models.md

    ## Nested Models
    
    Each attribute of a Pydantic model has a type.
    
    But that type can itself be another Pydantic model.
    
    So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations.
    
    All that, arbitrarily nested.
    
    ### Define a submodel
    
    For example, we can define an `Image` model:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. docs_src/sql_databases/sql_app/models.py

    Moustapha Sall <******@****.***> 1704810933 -0500
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 09 14:35:33 UTC 2024
    - 710 bytes
    - Viewed (0)
  10. docs_src/sql_databases/sql_app_py39/models.py

    Moustapha Sall <******@****.***> 1704810933 -0500
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 09 14:35:33 UTC 2024
    - 710 bytes
    - Viewed (0)
Back to top