Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,622 for validations (0.14 sec)

  1. docs/de/docs/tutorial/query-params-str-validations.md

    Die interaktive API-Dokumentation wird entsprechend aktualisiert und erlaubt jetzt mehrere Werte.
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### Query-Parameter-Liste / Mehrere Werte mit Defaults
    
    Und Sie können auch eine Default-`list`e von Werten definieren, wenn keine übergeben werden:
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:59 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/path-params-numeric-validations.md

    对于 <abbr title="less than"><code>lt</code></abbr> 也是一样的。
    
    ```Python hl_lines="11"
    {!../../../docs_src/path_params_numeric_validations/tutorial006.py!}
    ```
    
    ## 总结
    
    你能够以与 [查询参数和字符串校验](query-params-str-validations.md){.internal-link target=_blank} 相同的方式使用 `Query`、`Path`(以及其他你还没见过的类)声明元数据和字符串校验。
    
    而且你还可以声明数值校验:
    
    * `gt`:大于(`g`reater `t`han)
    * `ge`:大于等于(`g`reater than or `e`qual)
    * `lt`:小于(`l`ess `t`han)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="11"
    {!../../../docs_src/path_params_numeric_validations/tutorial006.py!}
    ```
    
    ## まとめ
    
    `Query`と`Path`(そしてまだ見たことない他のもの)では、[クエリパラメータと文字列の検証](query-params-str-validations.md){.internal-link target=_blank}と同じようにメタデータと文字列の検証を宣言することができます。
    
    また、数値のバリデーションを宣言することもできます:
    
    * `gt`: より大きい(`g`reater `t`han)
    * `ge`: 以上(`g`reater than or `e`qual)
    * `lt`: より小さい(`l`ess `t`han)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 15:46:32 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    			c := NewFilterCompiler(env)
    			f := c.Compile(tc.validations, OptionalVariableDeclarations{HasParams: tc.hasParamKind, HasAuthorizer: tc.authorizer != nil, StrictCost: tc.strictCost}, environment.NewExpressions)
    			if f == nil {
    				t.Fatalf("unexpected nil validator")
    			}
    			validations := tc.validations
    			CompilationResults := f.(*filter).compilationResults
    			require.Equal(t, len(validations), len(CompilationResults))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    	}}
    
    	deploymentPolicyWithBadMessageExpression := deploymentPolicy.DeepCopy()
    	deploymentPolicyWithBadMessageExpression.Spec.Validations[0].MessageExpression = "object.foo + 114514" // confusion
    
    	multiExpressionPolicy := &v1.ValidatingAdmissionPolicy{Spec: v1.ValidatingAdmissionPolicySpec{
    		Validations: []v1.Validation{
    			{
    				Expression: "object.foo == 'bar'",
    			},
    			{
    				Expression: "object.bar == 'foo'",
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    			} else if typeInfo == nil {
    				allErrs.CELErrors = append(allErrs.CELErrors, field.InternalError(fldPath.Child("x-kubernetes-validations"), fmt.Errorf("internal error: failed to retrieve type information for x-kubernetes-validations")))
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/11-language-change.yml

        validations:
          required: true
    
      - type: textarea
        id: proposal
        attributes:
          label: "Proposal"
          description: "What is the proposed change? Who does this proposal help, and why? Please describe as precisely as possible the change to the language."
        validations:
          required: true
    
      - type: textarea
        id: language-spec-changes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 20:49:24 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/01-pkgsite.yml

        id: url
        attributes:
          label: "What is the URL of the page with the issue?"
        validations:
          required: true
      - type: input
        id: user-agent
        attributes:
          label: "What is your user agent?"
          description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent"
        validations:
          required: true
      - type: textarea
        id: screenshot
        attributes:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/04-vuln.yml

            DB: https://vuln.go.dev
            DB updated: 2023-11-21 15:39:17 +0000 UTC
        validations:
          required: true
      - type: textarea
        id: reproduce-latest-version
        attributes:
          label: "Does this issue reproduce at the latest version of golang.org/x/vuln?"
        validations:
          required: true
      - type: textarea
        id: go-env
        attributes:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

            - Missing information
            - Styling or Accessibility
            - Typo (please open a PR instead)
        validations:
          required: true
      - type: textarea
        id: description
        attributes:
          label: Problem description
          description: |
            Please describe the problem as concisely as possible.
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 10:01:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top