Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,080 for myModel (0.74 sec)

  1. 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)
  2. tests/test_jsonable_encoder.py

        model = ModelWithDefault(foo="foo", bar="bar")
        assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"}
        assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == {
            "foo": "foo"
        }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

        private static void assertModelIsPolymorphic(Object model) {
            assert model != null
    
            assert model instanceof BaseModel
    
            assert model instanceof ShallowChildModel
            assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'"
    
            assert model instanceof DeepChildModel
            assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. 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)
  5. pilot/pkg/xds/v3/model.go

    package v3
    
    import (
    	"istio.io/istio/pkg/model"
    )
    
    const (
    	ClusterType                = model.ClusterType
    	EndpointType               = model.EndpointType
    	ListenerType               = model.ListenerType
    	RouteType                  = model.RouteType
    	SecretType                 = model.SecretType
    	ExtensionConfigurationType = model.ExtensionConfigurationType
    	NameTableType              = model.NameTableType
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/model.go

    package gateway
    
    import (
    	corev1 "k8s.io/api/core/v1"
    	k8s "sigs.k8s.io/gateway-api/apis/v1alpha2"
    
    	"istio.io/istio/pilot/pkg/credentials"
    	"istio.io/istio/pilot/pkg/model"
    	creds "istio.io/istio/pilot/pkg/model/credentials"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	gatewayAliasForAnnotationKey = "gateway.istio.io/alias-for"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:09 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. docs/zh/docs/tutorial/response-model.md

    ## 在文档中查看
    
    当你查看自动化文档时,你可以检查输入模型和输出模型是否都具有自己的 JSON Schema:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png">
    
    并且两种模型都将在交互式 API 文档中使用:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png">
    
    ## 响应模型编码参数
    
    你的响应模型可以具有默认值,例如:
    
    ```Python hl_lines="11  13-14"
    {!../../../docs_src/response_model/tutorial004.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. pilot/pkg/credentials/model.go

    John Howard <******@****.***> 1708715901 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top