- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for discriminator (0.36 sec)
-
fastapi/params.py
description=description, gt=gt, ge=ge, lt=lt, le=le, min_length=min_length, max_length=max_length, discriminator=discriminator, multiple_of=multiple_of, allow_nan=allow_inf_nan, max_digits=max_digits, decimal_places=decimal_places, **extra, )
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 27.5K bytes - Viewed (0) -
pkg/test/framework/suitecontext.go
c.contextMu.Lock() defer c.contextMu.Unlock() candidate := prefix discriminator := 0 for { if !c.contextNames.InsertContains(candidate) { return candidate } candidate = fmt.Sprintf("%s-%d", prefix, discriminator) discriminator++ } } func (c *suiteContext) allocateResourceID(contextID string, r resource.Resource) string { c.contextMu.Lock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.5K bytes - Viewed (0) -
fastapi/param_functions.py
gt=gt, ge=ge, lt=lt, le=le, min_length=min_length, max_length=max_length, pattern=pattern, regex=regex, discriminator=discriminator, strict=strict, multiple_of=multiple_of, allow_inf_nan=allow_inf_nan, max_digits=max_digits, decimal_places=decimal_places, example=example,
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 62.5K bytes - Viewed (0) -
fastapi/openapi/models.py
examples: Optional[List[Any]] = None # Ref: OpenAPI 3.1.0: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object # Schema Object discriminator: Optional[Discriminator] = None xml: Optional[XML] = None externalDocs: Optional[ExternalDocumentation] = None example: Annotated[ Optional[Any], typing_deprecated(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 22:49:33 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
} st.advance(1) return ret } // discriminator parses: // // <discriminator> ::= _ <(non-negative) number> (when number < 10) // __ <(non-negative) number> _ (when number >= 10) func (st *state) discriminator(a AST) AST { if len(st.str) == 0 || st.str[0] != '_' { // clang can generate a discriminator at the end of // the string with no underscore.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
// in order to avoid breaking clients we try really hard to infer what users // mean when they change them. // // Services are effectively a discriminated union, where `type` is the // discriminator. Some fields just don't make sense with some types, so we // clear them. // // As a rule, we almost never change user input. This can get tricky when APIs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/go/internal/work/action.go
if a1.Package != nil { haveDep[a1.Package.ImportPath] = true } for i := 0; i < len(workq); i++ { a1 := workq[i] for _, a2 := range a1.Deps { // TODO(rsc): Find a better discriminator than the Mode strings, once the dust settles. if a2.Package == nil || (a2.Mode != "build-install" && a2.Mode != "build") || haveDep[a2.Package.ImportPath] { continue } haveDep[a2.Package.ImportPath] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0) -
pkg/controller/job/util/utils.go
return true, c.Type } } return false, "" } // IsJobFinished checks whether the given Job has finished execution. // It does not discriminate between successful and failed terminations. func IsJobFinished(j *batch.Job) bool { isFinished, _ := FinishedCondition(j) return isFinished } // IsJobSucceeded returns whether a job has completed successfully.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 09:27:46 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/generated/openapi/zz_generated.openapi.go
Required: []string{"type"}, }, VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ "x-kubernetes-unions": []interface{}{ map[string]interface{}{ "discriminator": "type", "fields-to-discriminateBy": map[string]interface{}{ "localhostProfile": "LocalhostProfile", }, }, }, }, }, }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0) -
api/openapi-spec/v3/apis__batch__v1_openapi.json
"type": "string" } }, "required": [ "type" ], "type": "object", "x-kubernetes-unions": [ { "discriminator": "type", "fields-to-discriminateBy": { "localhostProfile": "LocalhostProfile" } } ] }, "io.k8s.api.core.v1.AzureDiskVolumeSource": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 485.4K bytes - Viewed (0)