Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for modelled (0.41 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            e.message == """Type $type is not a valid model element type:
    - type parameter of $ModelSet.name cannot be a wildcard"""
    
            where:
            type << [
                new ModelType<ModelSet<?>>() {},
                new ModelType<ModelSet<? extends A1>>() {},
                new ModelType<ModelSet<? super A1>>() {}
            ]
        }
    
        def "type argument of a model set has to be a valid managed type"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

    Its property 'org.gradle.model.ModelMap<java.io.FileInputStream> map' is not a valid managed collection
    A managed collection can not contain 'java.io.FileInputStream's
    A valid managed collection takes the form of ModelSet<T> or ModelMap<T> where 'T' is:
            - A managed type (annotated with @Managed)""")
        }
    
        @Managed
        interface ManagedWithInvalidModelMap {
            ModelMap<FileInputStream> getMap()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/FunctionalSourceSetIntegrationTest.groovy

            buildFile << """
            apply plugin: 'language-base'
    
            @Managed
            interface BuildType {
                ModelMap<FunctionalSourceSet> getComponentSources()
                ModelSet<FunctionalSourceSet> getTestSources()
            }
    
            class Rules extends RuleSource {
                @Model
                void buildType(BuildType buildType) { }
    
                @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    === Convention plugins versus cross-configuration
    
    The two most common uses of cross-configuration can be better modeled using convention plugins:
    
    1. Applying plugins or other configurations to subprojects of a certain type. +
    Often, the cross-configuration logic is `if subproject is of type X, then configure Y`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/first-steps.md

    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Sie können ein `dict`, eine `list`, einzelne Werte wie `str`, `int`, usw. zurückgeben.
    
    Sie können auch Pydantic-Modelle zurückgeben (dazu später mehr).
    
    Es gibt viele andere Objekte und Modelle, die automatisch zu JSON konvertiert werden (einschließlich ORMs usw.). Versuchen Sie, Ihre Lieblingsobjekte zu verwenden. Es ist sehr wahrscheinlich, dass sie bereits unterstützt werden.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 12:16:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. 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)
  7. docs/de/docs/tutorial/schema-extra-example.md

    ### Pydantic- und FastAPI-`examples`
    
    Wenn Sie `examples` innerhalb eines Pydantic-Modells hinzufügen, indem Sie `schema_extra` oder `Field(examples=["something"])` verwenden, wird dieses Beispiel dem **JSON-Schema** für dieses Pydantic-Modell hinzugefügt.
    
    Und dieses **JSON-Schema** des Pydantic-Modells ist in der **OpenAPI** Ihrer API enthalten und wird dann in der Benutzeroberfläche der Dokumentation verwendet.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:19:53 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. docs/fr/docs/features.md

    * Documentation automatique des modèles de données avec <a href="http://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (comme OpenAPI est aussi basée sur JSON Schema).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. 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)
  10. docs/hu/docs/index.md

    * Biztonság és autentikáció beleértve, **OAuth2**, **JWT tokens** és **HTTP Basic** támogatást.
    * Több haladó (de ugyanannyira könnyű) technika **mélyen ágyazott JSON modellek deklarációjára** (Pydantic-nek köszönhetően).
    * **GraphQL** integráció <a href="https://strawberry.rocks" class="external-link" target="_blank">Strawberry</a>-vel és más könyvtárakkal.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top