Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 664 for models3 (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy

            def model2 = models2.right
            model2.size() == 2
            model2[0].message == "It works from project :"
            model2[1].message == "It works from project :a"
    
            and:
            fixture.assertStateLoaded()
            outputDoesNotContain("creating model")
        }
    
        def "caches execution of phased BuildAction that queries custom tooling model and that runs tasks"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tests/query_test.go

    	var models2 [3]User
    	if err := DB.Where("name in (?)", []string{"find"}).Find(&models2).Error; err != nil {
    		t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models2))
    	} else {
    		for idx, user := range users {
    			t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, models2[idx], user)
    			})
    		}
    	}
    
    	// test smaller array
    	var models3 [2]User
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  3. 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)
  4. docs/de/docs/tutorial/body-nested-models.md

    Und es wird entsprechend annotiert/dokumentiert.
    
    ## Verschachtelte Modelle
    
    Jedes Attribut eines Pydantic-Modells hat einen Typ.
    
    Aber dieser Typ kann selbst ein anderes Pydantic-Modell sein.
    
    Sie können also tief verschachtelte JSON-„Objekte“ deklarieren, mit spezifischen Attributnamen, -typen, und -validierungen.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. 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)
  6. docs/en/docs/reference/openapi/models.md

    # OpenAPI `models`
    
    OpenAPI Pydantic models used to generate and validate the generated OpenAPI.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 125 bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r81/Models.java

    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    public class Models implements Serializable {
        private final boolean runsInParallel;
        private final List<ToolchainModel> projects;
    
        public Models(boolean runsInParallel, Collection<ToolchainModel> projects) {
            this.runsInParallel = runsInParallel;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/Models.java

    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    public class Models implements Serializable {
        private final boolean runsInParallel;
        private final List<CustomModel> projects;
    
        public Models(boolean runsInParallel, Collection<CustomModel> projects) {
            this.runsInParallel = runsInParallel;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. 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)
  10. docs/de/docs/tutorial/extra-models.md

    ### Über `**user_in.dict()`
    
    #### Pydantic's `.dict()`
    
    `user_in` ist ein Pydantic-Modell der Klasse `UserIn`.
    
    Pydantic-Modelle haben eine `.dict()`-Methode, die ein `dict` mit den Daten des Modells zurückgibt.
    
    Wenn wir also ein Pydantic-Objekt `user_in` erstellen, etwa so:
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top