Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 3,274 for toType (0.07 sec)

  1. cmd/postpolicyform.go

    	}
    
    	// Parse conditions.
    	for _, val := range rawPolicy.Conditions {
    		switch condt := val.(type) {
    		case map[string]interface{}: // Handle key:value map types.
    			for k, v := range condt {
    				if !isString(v) { // Pre-check value type.
    					// All values must be of type string.
    					return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form", reflect.TypeOf(condt).String(), condt)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. tests/test_default_response_class_router.py

    
    def test_router_a_a_override():
        with client:
            response = client.get("/a/a/override")
        assert response.content == b"Hello A A"
        assert response.headers["content-type"] == text_type
    
    
    def test_router_a_b():
        with client:
            response = client.get("/a/b")
        assert response.content == b"Hello A B"
        assert response.headers["content-type"] == text_type
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5K bytes
    - Viewed (0)
  3. docs/pt/docs/python-types.md

    O Python possui suporte para "dicas de tipo" ou "type hints" (também chamado de "anotações de tipo" ou "type annotations")
    
    Esses **"type hints"** são uma sintaxe especial que permite declarar o <abbr title = "por exemplo: str, int, float, bool">tipo</abbr> de uma variável.
    
    Ao declarar tipos para suas variáveis, editores e ferramentas podem oferecer um melhor suporte.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types.go

    // Error implements Error interface
    func (b BatchJobYamlErr) Error() string {
    	return fmt.Sprintf("%s\n Hint: error near line: %d, col: %d", b.msg, b.line, b.col)
    }
    
    // BatchJobKV is a key-value data type which supports wildcard matching
    type BatchJobKV struct {
    	line, col int
    	Key       string `yaml:"key" json:"key"`
    	Value     string `yaml:"value" json:"value"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobKV{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. cni/test/testdata/expected/minikube_cni.conflist.expected

            "routes": [
              {
                "dst": "0.0.0.0/0"
              }
            ],
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "isGateway": true,
          "mtu": 1460,
          "name": "rkt.kubernetes.io",
          "type": "bridge"
        },
        {
          "ambient_enabled": false,
          "cni_agent_run_dir": "/tmp",
          "dns": {},
          "exclude_namespaces": [
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 733 bytes
    - Viewed (0)
  6. docs_src/extra_models/tutorial003.py

    class BaseItem(BaseModel):
        description: str
        type: str
    
    
    class CarItem(BaseItem):
        type: str = "car"
    
    
    class PlaneItem(BaseItem):
        type: str = "plane"
        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
            "description": "Music is my aeroplane, it's my aeroplane",
            "type": "plane",
            "size": 5,
        },
    }
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 644 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Request.kt

      @JvmName("reifiedTag")
      inline fun <reified T : Any> tag(): T? = tag(T::class)
    
      /** Returns the tag attached with [type] as a key, or null if no tag is attached with that key. */
      fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags[type])
    
      /**
       * Returns the tag attached with `Object.class` as a key, or null if no tag is attached with
       * that key.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. tests/migrate_test.go

    func TestMigrateSameEmbeddedFieldName(t *testing.T) {
    	type UserStat struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser struct {
    		gorm.Model
    		StatAb UserStat `gorm:"embedded;embeddedPrefix:stat_ab_"`
    	}
    
    	type UserStat1 struct {
    		GroundDestroyCount string
    	}
    
    	type GroundRate struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser1 struct {
    		gorm.Model
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

        }
    
    
        /**
         * 
         * @param pairs
         * @param type
         * @return whether the list contains a pair of that type
         */
        public static boolean contains ( List<AvPair> pairs, int type ) {
            if ( pairs == null ) {
                return false;
            }
            for ( AvPair p : pairs ) {
                if ( p.getType() == type ) {
                    return true;
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  10. docs/nl/docs/python-types.md

    Python biedt ondersteuning voor optionele "type hints" (ook wel "type annotaties" genoemd).
    
    Deze **"type hints"** of annotaties zijn een speciale syntax waarmee het <abbr title="bijvoorbeeld: str, int, float, bool">type</abbr> van een variabele kan worden gedeclareerd.
    
    Door types voor je variabelen te declareren, kunnen editors en hulpmiddelen je beter ondersteunen.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top