- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 608 for Causes (0.13 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial008c.py
response = client.get("/items/plumbus") assert response.status_code == 200, response.text assert response.json() == "plumbus" def test_fastapi_error(client: TestClient): with pytest.raises(FastAPIError) as exc_info: client.get("/items/portal-gun") assert "No response object was returned" in exc_info.value.args[0] def test_internal_server_error():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.1K bytes - Viewed (0) -
callbacks/delete.go
} for _, cond := range queryConds { if c, ok := cond.(clause.IN); ok && len(c.Values) == 0 { withoutConditions = true break } } if !withoutConditions && db.AddError(tx.Clauses(clause.Where{Exprs: queryConds}).Delete(modelValue).Error) != nil { return } case schema.Many2Many: var ( queryConds = make([]clause.Expression, 0, len(rel.References))
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Feb 25 02:48:23 UTC 2022 - 5.6K bytes - Viewed (0) -
cmd/erasure-healing-common.go
return etag } return "" } // Beginning of unix time is treated as sentinel value here. var ( timeSentinel = time.Unix(0, 0).UTC() timeSentinel1970 = time.Unix(0, 1).UTC() // 1970 used for special cases when xlmeta.version == 0 ) // Boot modTimes up to disk count, setting the value to time sentinel. func bootModtimes(diskCount int) []time.Time { modTimes := make([]time.Time, diskCount)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 12.7K bytes - Viewed (0) -
internal/event/arn.go
if err := d.DecodeElement(&s, &start); err != nil { return err } parsedARN, err := parseARN(s) if err != nil { return err } *arn = *parsedARN return nil } // parseARN - parses string to ARN. func parseARN(s string) (*ARN, error) { // ARN must be in the format of arn:minio:sqs:<REGION>:<ID>:<TYPE> if !strings.HasPrefix(s, "arn:minio:sqs:") { return nil, &ErrInvalidARN{s} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
cmd/bucket-encryption.go
func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) { sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket) return sseCfg, err } // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO. func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) { encConfig, err := sse.ParseBucketSSEConfig(r) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 1.7K bytes - Viewed (0) -
internal/config/lambda/event/arn.go
if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" { return "" } return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String() } // ParseARN - parses string to ARN. func ParseARN(s string) (*ARN, error) { // ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE> if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") { return nil, &ErrInvalidARN{s}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.6K bytes - Viewed (0) -
tests/test_dependency_contextvars.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Feb 17 12:40:12 UTC 2022 - 1.5K bytes - Viewed (0) -
cmd/copy-part-range.go
return default: apiErr := errorCodes.ToAPIErr(ErrInvalidCopyPartRangeSource) apiErr.Description = err.Error() writeErrorResponse(ctx, w, apiErr, url) return } } // Parses x-amz-copy-source-range for CopyObjectPart API. Its behavior // is different from regular HTTP range header. It only supports the // form `bytes=first-last` where first and last are zero-based byte // offsets. See
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 18 03:27:04 UTC 2021 - 2.5K bytes - Viewed (0) -
clause/order_by.go
if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column.Column) if column.Desc { builder.WriteString(" DESC") } } } } // MergeClause merge order by clauses func (orderBy OrderBy) MergeClause(clause *Clause) { if v, ok := clause.Expression.(OrderBy); ok { for i := len(orderBy.Columns) - 1; i >= 0; i-- { if orderBy.Columns[i].Reorder {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Nov 03 02:30:05 UTC 2020 - 1.1K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c_an_py39.py
response = client.get("/items/plumbus") assert response.status_code == 200, response.text assert response.json() == "plumbus" @needs_py39 def test_fastapi_error(client: TestClient): with pytest.raises(FastAPIError) as exc_info: client.get("/items/portal-gun") assert "No response object was returned" in exc_info.value.args[0] @needs_py39 def test_internal_server_error():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0)