- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,064 for Estr (0.06 sec)
-
fastapi/param_functions.py
""" ), ] = _Unset, # TODO: update when deprecating Pydantic v1, import these types # validation_alias: str | AliasPath | AliasChoices | None validation_alias: Annotated[ Union[str, None], Doc( """ 'Whitelist' validation step. The parameter field will be the single one allowed by the alias or set of aliases defined.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 62.5K bytes - Viewed (0) -
docs_src/security/tutorial005_py39.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) -
tools/bug-report/pkg/util/path/path.go
var r []string for _, str := range pv { if str != "" { str = strings.ReplaceAll(str, escapedPathSeparator, pathSeparator) // Is str of the form node[expr], convert to "node", "[expr]"? nBracket := strings.IndexRune(str, '[') if nBracket > 0 { r = append(r, str[:nBracket], str[nBracket:]) } else { // str is "[expr]" or "node" r = append(r, str) } } } return r }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Sep 01 20:55:53 UTC 2020 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/quickstart/groovy/src/main/groovy/org/gradle/Person.groovy
def Person() { getClass().getResourceAsStream('/resource.txt').withStream {InputStream str -> name = str.text.trim() } getClass().getResourceAsStream('/script.groovy').withStream {InputStream str -> def shell = new GroovyShell() shell.person = this shell.evaluate(str.text) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 420 bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/string_test.go
} }) } } func TestStringMatcherPrefix(t *testing.T) { testCases := []struct { name string str string ignoreCase bool want *matcher.StringMatcher }{ { name: "prefix1", str: "foo", ignoreCase: true, want: &matcher.StringMatcher{ IgnoreCase: true, MatchPattern: &matcher.StringMatcher_Prefix{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 17 22:42:11 UTC 2023 - 5.2K bytes - Viewed (0) -
docs_src/body_nested_models/tutorial004_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Image(BaseModel): url: str name: str class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() image: Union[Image, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 499 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
for node_def in function.node_def: if node_def.op == 'XlaCallModule': count += 1 return count def _get_function_aliases( self, output_saved_model_path: str, tags: List[str] ) -> dict[str, str]: """Gets the function aliases in the output saved model.""" loader = loader_impl.SavedModelLoader(output_saved_model_path) return loader.get_meta_graph_def_from_tags( tags
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
fastapi/security/oauth2.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 21.1K bytes - Viewed (0) -
operator/pkg/validate/validate.go
pstr := path.String() msg := fmt.Sprintf("validate %s:%v(%T) ", pstr, val, val) if util.IsValueNil(val) || util.IsEmptyString(val) { if checkRequired && requiredValues[pstr] { return util.NewErrs(fmt.Errorf("field %s is required but not set", util.ToYAMLPathString(pstr))) } msg += fmt.Sprintf("validate %s: OK (empty value)", pstr) scope.Debug(msg) return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 12 16:04:15 UTC 2023 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.h
string MangleAttributeName(absl::string_view str); // Returns true if 'str' was mangled with MangleAttributeName. bool IsMangledAttributeName(absl::string_view str); // Demangles an attribute name that was manged with MangleAttributeName. // REQUIRES: IsMangledAttributeName returns true. absl::string_view DemangleAttributeName(absl::string_view str); // Returns the type of a mangled string, or kUnknown.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 28 22:08:30 UTC 2020 - 2.4K bytes - Viewed (0)