Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,051 for myModel (0.27 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy

            buildFile << """
                class MyModel {
                    List<String> tasks = []
                }
    
                class MyPlugin extends RuleSource {
                    @Model
                    MyModel myModel() {
                        new MyModel()
                    }
    
                    @Mutate
                    void addTasks1(ModelMap<Task> tasks, MyModel myModel) {
                        myModel.tasks.each { n ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

        }
    
        private void addModelImplementation(String targetBuildName) {
            file("$targetBuildName/src/main/groovy/my/MyModel.groovy") << """
                package my
    
                class MyModel implements java.io.Serializable {
                    private final String message
                    MyModel(String message) { this.message = message }
                    String getMessage() { message }
                    String toString() { message }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy

    }
    
    apply plugin: Rules
    
    model {
        components {
            assert it.toString() == "ComponentSpecContainer 'components'"
            assert it instanceof ComponentSpecContainer
        }
    }
    """
    
            expect:
            succeeds 'tasks'
        }
    
        def "component sources and binaries containers are visible in model report"() {
            when:
            succeeds "model"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy

        SampleBinary 'sampleLib:2ndBinary'
            build using task: :sampleLib2ndBinary
    """)
            where:
            ruleInputs << ["SampleLibrary library, CustomModel myModel",  "CustomModel myModel, SampleLibrary library"]
        }
    
        def "@ComponentBinaries rule operates with fully configured component"() {
            given:
            buildFile << """
    @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. pilot/pkg/security/authz/model/model.go

    }
    
    type ruleList struct {
    	rules []*rule
    }
    
    // Model represents a single rule from an authorization policy. The conditions of the rule are consolidated into
    // permission or principal to align with the Envoy RBAC filter API.
    type Model struct {
    	permissions []ruleList
    	principals  []ruleList
    }
    
    // New returns a model representing a single authorization policy.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    !!! danger
        Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing.
    
    ## Add an output model
    
    We can instead create an input model with the plaintext password and an output model without it:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/mdo/model.vm

      specific language governing permissions and limitations
      under the License.
    *#
    #parse ( "common.vm" )
    #
    #set ( $package = "${packageModelV4}" )
    #set ( $root = $model.getClass( $model.getRoot($version), $version ) )
    #foreach ( $class in $model.allClasses )
      #set ( $ancestors = $Helper.ancestors( $class ) )
      #set ( $allFields = [] )
      #set ( $inheritedFields = [] )
      #foreach ( $cl in $ancestors )
        #if ( $cl != $class )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. src/mdo/model-v3.vm

      under the License.
    *#
    #parse ( "common.vm" )
    #
    #set ( $package = "${packageModelV3}" )
    #
    #set ( $root = $model.getClass( $model.getRoot($version), $version ) )
    #
    #set ( $allClasses = [] )
    #foreach ( $class in $model.allClasses )
      #if ( $class.name != "InputLocation" && $class.name != "InputSource" )
        #set ( $dummy = $allClasses.add( $class ) )
      #end
    #end
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 06 19:04:44 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/response-model.md

    ## 👀 ⚫️ 🩺
    
    🕐❔ 👆 👀 🏧 🩺, 👆 💪 ✅ 👈 🔢 🏷 &amp; 🔢 🏷 🔜 👯‍♂️ ✔️ 👫 👍 🎻 🔗:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    &amp; 👯‍♂️ 🏷 🔜 ⚙️ 🎓 🛠️ 🧾:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 🎏 📨 🆎 ✍
    
    📤 5️⃣📆 💼 🌐❔ 👆 📨 🕳 👈 🚫 ☑ Pydantic 🏑 &amp; 👆 ✍ ⚫️ 🔢, 🕴 🤚 🐕‍🦺 🚚 🏭 (👨‍🎨, ✍, ♒️).
    
    ### 📨 📨 🔗
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image01.png">
    
    И также обе модели будут использованы в интерактивной документации API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Другие аннотации типов
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top