Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for Estr (0.05 sec)

  1. operator/pkg/validate/validate_values_test.go

    			t.Fatalf("file %s failed validation with: %s", f, err)
    		}
    	}
    }
    
    func makeErrors(estr []string) util.Errors {
    	var errs util.Errors
    	for _, s := range estr {
    		errs = util.AppendErr(errs, fmt.Errorf("%s", s))
    	}
    	return errs
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Base(path) == "values.yaml"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    The query parameter `q` is of type `Union[str, None]` (or `str | None` in Python 3.10), that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    !!! note
        FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/testing/example.go

    		}
    	}
    	if fail != "" || !finished || recovered != nil {
    		fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail)
    		passed = false
    	} else if chatty.on {
    		fmt.Printf("%s--- PASS: %s (%s)\n", chatty.prefix(), eg.Name, dstr)
    	}
    
    	if chatty.on && chatty.json {
    		fmt.Printf("%s=== NAME   %s\n", chatty.prefix(), "")
    	}
    
    	if recovered != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. cmd/bucket-policy.go

    		} else {
    			args[key] = values
    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	} else if st.str[0] == 's' && len(st.str) > 1 && st.str[1] == 'P' {
    		st.advance(2)
    		var args []AST
    		for len(st.str) == 0 || st.str[0] != 'E' {
    			arg := st.templateArg(nil)
    			args = append(args, arg)
    		}
    		st.advance(1)
    		return &SizeofArgs{Args: args}
    	} else if st.str[0] == 'f' && len(st.str) > 1 && st.str[1] == 'p' {
    		st.advance(2)
    		if len(st.str) > 0 && st.str[0] == 'T' {
    			st.advance(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  6. docs_src/security/tutorial004_an.py

    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: Union[str, None] = None
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005.py

    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: Union[str, None] = None
        scopes: List[str] = []
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005_an.py

    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: Union[str, None] = None
        scopes: List[str] = []
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

         * is absent from Java 6.
         */
        public static String capitalize(String str) {
            if (str == null || str.length() == 0) {
                return str;
            }
            return Character.toTitleCase(str.charAt(0)) + str.substring(1);
        }
    
        /**
         * Escapes the toString() representation of {@code obj} for use in a literal string.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_an_py310.py

    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: str | None = None
        scopes: list[str] = []
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top