Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 741 for validi (0.39 sec)

  1. tests/test_serialize_response.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "price": "1.0"}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Aug 03 12:29:07 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  2. tests/test_serialize_response_dataclass.py

    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Aug 26 13:56:47 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  3. tests/test_multi_query_errors.py

                        "loc": ["query", "q", 0],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "five",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "q", 1],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "six",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        // 3.
        "disallowed_STD3_valid ".encodeUtf8(),
        // 4.
        "ignored ".encodeUtf8(),
        // 5.
        "mapped ".encodeUtf8(),
        // 6.
        "valid ".encodeUtf8(),
      )
    
    internal const val TYPE_DEVIATION = 0
    internal const val TYPE_DISALLOWED = 1
    internal const val TYPE_DISALLOWED_STD3_MAPPED = 2
    internal const val TYPE_DISALLOWED_STD3_VALID = 3
    internal const val TYPE_IGNORED = 4
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload_test.go

    			expectedOutput:    "Error: expecting a workload namespace\n",
    		},
    		{
    			description:       "valid case - minimal flags, infer defaults",
    			args:              strings.Split("group create --name foo --namespace bar", " "),
    			expectedException: false,
    			expectedOutput:    defaultYAML,
    		},
    		{
    			description: "valid case - create full workload group",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. manifests/charts/base/crds/crd-all.gen.yaml

                      Valid Options: FAIL_CLOSE, FAIL_OPEN
                    enum:
                    - FAIL_CLOSE
                    - FAIL_OPEN
                    type: string
                  imagePullPolicy:
                    description: |-
                      The pull behaviour to be applied when fetching Wasm module by either OCI image or `http/https`.
    
                      Valid Options: IfNotPresent, Always
                    enum:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/writer.go

    	case TABULAR:
    		err = w.printSecretItemsTabular(secrets)
    	}
    	return err
    }
    
    var (
    	secretItemColumns = []string{"RESOURCE NAME", "TYPE", "STATUS", "VALID CERT", "SERIAL NUMBER", "NOT AFTER", "NOT BEFORE"}
    	secretDiffColumns = []string{"RESOURCE NAME", "TYPE", "VALID CERT", "NODE AGENT", "PROXY", "SERIAL NUMBER", "NOT AFTER", "NOT BEFORE"}
    )
    
    // printSecretItemsTabular prints the secret in table format
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/expiration_test.go

    	validationTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with a valid ISO 8601 date
    			inputXML: `<Expiration>
                                        <Date>2019-04-20T00:00:00Z</Date>
                                        </Expiration>`,
    			expectedErr: nil,
    		},
    		{ // Expiration with a valid number of days
    			inputXML: `<Expiration>
                                        <Days>3</Days>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. dbflute_fess/dfprop/additionalForeignKeyMap.dfprop

    #     }
    #     ; FK_MEMBER_MEMBER_ADDRESS_VALID = map:{
    #         ; localTableName  = MEMBER    ; foreignTableName  = MEMBER_ADDRESS
    #         ; localColumnName = MEMBER_ID ; foreignColumnName = MEMBER_ID
    #         ; fixedCondition = 
    #          $$foreignAlias$$.VALID_BEGIN_DATE <= /*targetDate(Date)*/null
    #      and $$foreignAlias$$.VALID_END_DATE >= /*targetDate(Date)*/null 
    #         ; fixedSuffix = AsValid
    #     }
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Jul 04 22:46:31 GMT 2015
    - 1.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        listener.assertException(error);
      }
    
      public void testAddListenerAfterCallback() throws Throwable {
        inputFuture.set(VALID_INPUT_DATA);
    
        listener.assertSuccess(getSuccessfulResult());
      }
    
      public void testFutureBeforeCallback() throws Throwable {
        inputFuture.set(VALID_INPUT_DATA);
    
        listener.assertSuccess(getSuccessfulResult());
      }
    
      public void testInputFutureToString() throws Throwable {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top