Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,791 for greater (0.12 sec)

  1. tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py

            {
                "detail": [
                    {
                        "type": "greater_than",
                        "loc": ["body", "item", "price"],
                        "msg": "Input should be greater than 0",
                        "input": -3.0,
                        "ctx": {"gt": 0.0},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. pkg/apis/coordination/validation/validation.go

    		fld := fldPath.Child("leaseDurationSeconds")
    		allErrs = append(allErrs, field.Invalid(fld, spec.LeaseDurationSeconds, "must be greater than 0"))
    	}
    	if spec.LeaseTransitions != nil && *spec.LeaseTransitions < 0 {
    		fld := fldPath.Child("leaseTransitions")
    		allErrs = append(allErrs, field.Invalid(fld, spec.LeaseTransitions, "must be greater than or equal to 0"))
    	}
    	return allErrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 03 17:25:43 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go

    		},
    		{
    			"handSize is greater than deckSize",
    			100,
    			101,
    			fmt.Errorf("handSize 101 is greater than deckSize 100"),
    		},
    		{
    			"deckSize is impractically large",
    			1 << 27,
    			2,
    			fmt.Errorf("deckSize 134217728 is impractically large"),
    		},
    		{
    			"required entropy bits is greater than MaxHashBits",
    			512,
    			8,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 25 06:44:08 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/while_op.mlir

    // CHECK:     }) : (tensor<i32>, tensor<1xf32>) -> (tensor<i32>, tensor<1xf32>)
    
    func.func @main(%arg0: tensor<i32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
      // While %arg0 is greater than zero, element wise add %arg1 with itself.
      %0:2 = "tfl.while"(%arg0, %arg1) ({
      ^bb0(%arg2: tensor<*xi32>, %arg3: tensor<*xf32>):
        %1 = func.call @cond(%arg2, %arg3) : (tensor<*xi32>, tensor<*xf32>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. docs_src/body_fields/tutorial001_an_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 563 bytes
    - Viewed (0)
  6. docs_src/body_fields/tutorial001_an_py39.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 582 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/clientset.go

    	configShallowCopy := *c
    	if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 {
    		if configShallowCopy.Burst <= 0 {
    			return nil, fmt.Errorf("burst is required to be greater than 0 when RateLimiter is not set and QPS is set to greater than 0")
    		}
    		configShallowCopy.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(configShallowCopy.QPS, configShallowCopy.Burst)
    	}
    
    	var cs Clientset
    	var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 21:36:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. tests/test_multi_body_errors.py

            {
                "detail": [
                    {
                        "type": "greater_than",
                        "loc": ["body", 0, "age"],
                        "msg": "Input should be greater than 0",
                        "input": -1.0,
                        "ctx": {"gt": 0},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. releasenotes/notes/30181.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: networking
    issue:
      - 30181
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 04 02:18:31 UTC 2021
    - 193 bytes
    - Viewed (0)
  10. releasenotes/notes/22161.yaml

    kind: bug-fix
    area: security
    issue:
    - 22161
    releaseNotes:
    - |
      **Updated** Configuration to sign Istiod certificates using Kubernetes CA (PILOT_CERT_PROVIDER=kubernetes) will not be honored in
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 08 23:59:52 UTC 2021
    - 265 bytes
    - Viewed (0)
Back to top