Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 467 for ctx_ (0.18 seconds)

  1. tests/test_security_oauth2.py

                    "type": "string_pattern_mismatch",
                    "loc": ["body", "grant_type"],
                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_grant_type():
        response = client.post(
            "/login",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. tests/test_security_oauth2_optional_description.py

                    "type": "string_pattern_mismatch",
                    "loc": ["body", "grant_type"],
                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_correct_grant_type():
        response = client.post(
            "/login",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. internal/grid/trace.go

    	TraceType madmin.TraceType
    	Prefix    string
    	Local     string
    	Remote    string
    	Subroute  string
    }
    
    const (
    	httpScheme  = "http://"
    	httpsScheme = "https://"
    )
    
    func (c *muxClient) traceRoundtrip(ctx context.Context, t *tracer, h HandlerID, req []byte) ([]byte, error) {
    	if t == nil || t.Publisher.NumSubscribers(t.TraceType) == 0 {
    		return c.roundtrip(h, req)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Jun 01 05:17:37 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. cmd/data-usage_test.go

    			sizeS.versions++
    			return sizeS, nil
    		}
    		return sizeS, err
    	}
    	xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()}
    	xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) {
    		return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil
    	})
    	weSleep := func() bool { return false }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. cmd/erasure-coding.go

    type Erasure struct {
    	encoder                  func() reedsolomon.Encoder
    	dataBlocks, parityBlocks int
    	blockSize                int64
    }
    
    // NewErasure creates a new ErasureStorage.
    func NewErasure(ctx context.Context, dataBlocks, parityBlocks int, blockSize int64) (e Erasure, err error) {
    	// Check the parameters for sanity now.
    	if dataBlocks <= 0 || parityBlocks < 0 {
    		return e, reedsolomon.ErrInvShardNum
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
                                "ctx": {"title": "Context", "type": "object"},
                            },
                        },
                        "HTTPValidationError": {
                            "title": "HTTPValidationError",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_body/test_tutorial002.py

                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
                                "ctx": {"title": "Context", "type": "object"},
                            },
                        },
                        "HTTPValidationError": {
                            "title": "HTTPValidationError",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. cmd/endpoint.go

    						reqInfo.AppendTags("elapsedTime",
    							humanize.RelTime(startTime,
    								startTime.Add(timeElapsed),
    								"elapsed",
    								"",
    							))
    						ctx := logger.SetReqInfo(GlobalContext,
    							reqInfo)
    						bootLogOnceIf(ctx, fmt.Errorf("%s resolves to localhost in a containerized deployment, waiting for it to resolve to a valid IP",
    							endpoints[i].Hostname()), endpoints[i].Hostname(), logger.ErrorKind)
    					}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  9. cmd/metrics-v3-bucket-replication.go

    // such as latency and sent bytes.
    func loadBucketReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache, buckets []string) error {
    	if globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 04 20:45:31 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. tests/test_put_no_body.py

                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
                                "ctx": {"title": "Context", "type": "object"},
                            },
                        },
                        "HTTPValidationError": {
                            "title": "HTTPValidationError",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
Back to Top