Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 134 for modelSet (0.19 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                class Rules extends RuleSource {
                  @Model
                  void mapThings(ModelMap<ModelMap<Thing>> things) {
                  }
                  @Model
                  void setThings(ModelMap<ModelSet<Thing>> things) {
                  }
                  @Model
                  void setStrings(ModelMap<Set<String>> strings) {
                  }
                }
    
                apply type: Rules
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            abstract ModelMap<NamedThingInterface> getMap()
        }
    
        @Managed
        static abstract class WritableSetProperty {
            abstract void setSet(ModelSet<NamedThingInterface> set)
            abstract ModelSet<NamedThingInterface> getSet()
        }
    
        def "map cannot be writable"() {
            when: extract WritableMapProperty
            then: def ex = thrown InvalidManagedTypeException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out

             ⤷ PersonRules#setFirstName(Person)
        + age
              | Type:   	int
              | Value:  	0
              | Creator: 	PersonRules#person(Person)
        + children
              | Type:   	org.gradle.model.ModelSet<Person>
              | Creator: 	PersonRules#person(Person)
        + employed
              | Type:   	boolean
              | Value:  	false
              | Creator: 	PersonRules#person(Person)
        + father
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/cache/ModelSchemaCache.java

     * <p>
     * The use of {@link WeakClassSet} as the cache key, opposed to just {@link Class}, is because a type may be composed of types from different classloaders.
     * An example of this would be something like {@code ModelSet<SomeCustomUserType>}.
     * The class set abstraction effectively creates a key for all classes involved in a type.
     * The {@link WeakClassSet#isCollected()} method returns true when any of the classes involved have been collected.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/cacheentry/ModelKey.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.cacheentry
    
    import org.gradle.internal.hash.HashCode
    import org.gradle.util.Path
    
    
    internal
    data class ModelKey(
        val identityPath: Path?,
        val modelName: String,
        val parameterHash: HashCode?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 857 bytes
    - Viewed (0)
  6. maven-model/src/test/java/org/apache/maven/model/ModelTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Model}.
     *
     */
    class ModelTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Model().hashCode();
        }
    
        @Test
        void testBuild() {
            Model model = new Model();
            Build build = new Build();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body.md

        Ce qui améliore le support pour les modèles Pydantic avec :
    
        * de l'auto-complétion
        * des vérifications de type
        * du "refactoring" (ou remaniement de code)
        * de la recherche
        * de l'inspection
    
    ## Utilisez le modèle
    
    Dans la fonction, vous pouvez accéder à tous les attributs de l'objet du modèle directement :
    
    ```Python hl_lines="21"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/body-nested-models.md

    Selbst für Dinge in Listen:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Sie würden diese Editor-Unterstützung nicht erhalten, wenn Sie direkt mit `dict`, statt mit Pydantic-Modellen arbeiten würden.
    
    Aber Sie müssen sich auch nicht weiter um die Modelle kümmern, hereinkommende Dicts werden automatisch in sie konvertiert. Und was Sie zurückgeben, wird automatisch nach JSON konvertiert.
    
    ## Bodys mit beliebigen `dict`s
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/dataclasses.md

    * Dokumentation der Daten, usw.
    
    Das funktioniert genauso wie mit Pydantic-Modellen. Und tatsächlich wird es unter der Haube mittels Pydantic auf die gleiche Weise bewerkstelligt.
    
    !!! info
        Bedenken Sie, dass Datenklassen nicht alles können, was Pydantic-Modelle können.
    
        Daher müssen Sie möglicherweise weiterhin Pydantic-Modelle verwenden.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. docs/fr/docs/project-generation.md

    ...viendra surement plus tard, suivant le temps que j'ai.  😅 🎉
    
    ## Modèles d'apprentissage automatique avec spaCy et FastAPI
    
    GitHub : <a href="https://github.com/microsoft/cookiecutter-spacy-fastapi" class="external-link" target="_blank">https://github.com/microsoft/cookiecutter-spacy-fastapi</a>
    
    ## Modèles d'apprentissage automatique avec spaCy et FastAPI - Fonctionnalités
    
    * Intégration d'un modèle NER **spaCy**.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 02 14:18:06 UTC 2021
    - 6.7K bytes
    - Viewed (0)
Back to top