- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 350 for ctx (0.01 seconds)
-
docs/sts/web-identity.go
fmt.Println(err) return } scopes := ddoc.ScopesSupported if clientScopes != "" { scopes = strings.Split(clientScopes, ",") } ctx := context.Background() config := oauth2.Config{ ClientID: clientID, ClientSecret: clientSec, Endpoint: oauth2.Endpoint{ AuthURL: ddoc.AuthEndpoint, TokenURL: ddoc.TokenEndpoint, },
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py
{ "type": "string_too_short", "loc": ["query", "q"], "msg": "String should have at least 3 characters", "input": "fa", "ctx": {"min_length": 3}, } ] } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.4K bytes - Click Count (0) -
cmd/metrics-v3-logger-webhook.go
"Total number of messages sent to this target", allWebhookLabels...) ) // loadLoggerWebhookMetrics - `MetricsLoaderFn` for logger webhook // such as failed messages and total messages. func loadLoggerWebhookMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { tgts := append(logger.SystemTargets(), logger.AuditTargets()...) for _, t := range tgts { labels := []string{nameL, t.String(), endpointL, t.Endpoint()}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 14 07:27:33 GMT 2024 - 2K bytes - Click Count (0) -
cmd/erasure-utils.go
size += len(block) } return size } // Writes all the data blocks from encoded blocks until requested // outSize length. Provides a way to skip bytes until the offset. func writeDataBlocks(ctx context.Context, dst io.Writer, enBlocks [][]byte, dataBlocks int, offset int64, length int64) (int64, error) { // Offset and out size cannot be negative. if offset < 0 || length < 0 { return 0, errUnexpected }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Click Count (0) -
internal/store/store.go
import ( "context" "errors" "fmt" "strconv" "strings" "time" xioutil "github.com/minio/minio/internal/ioutil" ) const ( retryInterval = 3 * time.Second ) type logger = func(ctx context.Context, err error, id string, errKind ...any) // ErrNotConnected - indicates that the target connection is not active. var ErrNotConnected = errors.New("not connected to target server/service")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.2K bytes - Click Count (0) -
cmd/storage-rest-server.go
// CheckPartsHandler - check if a file parts exists. func (s *storageRESTServer) CheckPartsHandler(ctx context.Context, p *CheckPartsHandlerParams, out chan<- *CheckPartsResp) *grid.RemoteErr { if !s.checkID(p.DiskID) { return grid.NewRemoteErr(errDiskNotFound) } volume := p.Volume filePath := p.FilePath resp, err := s.getStorage().CheckParts(ctx, volume, filePath, p.FI) if err != nil { return grid.NewRemoteErr(err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
tests/test_tutorial/test_encoder/test_tutorial001.py
"msg": "Input should be a valid datetime or date, invalid character in year", "type": "datetime_from_date_parsing", "input": "not a date", "ctx": {"error": "invalid character in year"}, } ] } assert "345" not in fake_db def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 6.7K bytes - Click Count (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py
{ "loc": ["path", "item_id"], "input": "0", "msg": "Input should be greater than or equal to 1", "type": "greater_than_equal", "ctx": {"ge": 1}, } ] } def test_read_items_missing_q(client: TestClient): response = client.get("/items/42") assert response.status_code == 422, response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 6K bytes - Click Count (0) -
tests/test_regex_deprecated_body.py
"type": "string_pattern_mismatch", "loc": ["body", "q"], "msg": "String should match pattern '^fixedquery$'", "input": "nonregexquery", "ctx": {"pattern": "^fixedquery$"}, } ] } @needs_py310 def test_openapi_schema(): client = get_client() response = client.get("/openapi.json")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 5.2K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py
"type": "string_pattern_mismatch", "loc": ["query", "q"], "msg": "String should match pattern '^fixedquery$'", "input": "nonregexquery", "ctx": {"pattern": "^fixedquery$"}, } ] } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 12:45:20 GMT 2025 - 5.1K bytes - Click Count (0)