- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,269 for invalid (0.12 sec)
-
docs/en/docs/tutorial/extra-models.md
```Python some_variable: PlaneItem | CarItem ``` But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation. ## List of models The same way, you can declare responses of lists of objects.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
expectedErr: nil, expectErr: false, }, // invalid Status key { value: `<?xml version="1.0" encoding="UTF-8"?><ObjectLockLegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><MyStatus>ON</MyStatus></ObjectLockLegalHold>`, expectedErr: errors.New("expected element type <Status> but have <MyStatus>"), expectErr: true, }, // invalid XML attr {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
stream.defaultReadObject(); int keyCount = stream.readInt(); if (keyCount < 0) { throw new InvalidObjectException("Invalid key count " + keyCount); } ImmutableMap.Builder<Object, ImmutableList<Object>> builder = ImmutableMap.builder(); int tmpSize = 0; for (int i = 0; i < keyCount; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 20:20:32 UTC 2024 - 19K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
} list.add(element); } equalityGroups.add(list); return this; } /** Run tests on equals method, throwing a failure on an invalid test */ @CanIgnoreReturnValue public EqualsTester testEquals() { RelationshipTester<Object> delegate = new RelationshipTester<>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
cmd/metacache-manager.go
// getBucket will get a bucket metacache or load it from disk if needed. func (m *metacacheManager) getBucket(ctx context.Context, bucket string) *bucketMetacache { m.init.Do(m.initManager) // Return a transient bucket for invalid or system buckets. m.mu.RLock() b, ok := m.buckets[bucket] if ok { m.mu.RUnlock() if b.bucket != bucket { logger.Info("getBucket: cached bucket %s does not match this bucket %s", b.bucket, bucket)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java
aggregationAggregationBuilderList.add(builder); } // =================================================================================== // Invalid Aggregation // ============= protected void checkEsInvalidAggregation(String name, Object value) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeTest.kt
} @Test fun testMultipleCharsetsReturnsFirstMatch() { val mediaType = parse("text/plain; charset=utf-8; charset=utf-16") assertEquals("UTF-8", mediaType.charsetName()) } /** * This is invalid according to RFC 822. But it's what Chrome does and it avoids a potentially * unpleasant IllegalCharsetNameException. */ @Test fun testCharsetNameIsSingleQuoted() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
if ( e.getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER ) { // a relatively large range of samba versions has a bug causing // an invalid parameter error when a SPNEGO MIC is in place and auth fails throw new SmbAuthException("Login failed", e); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0) -
cmd/object-api-utils.go
} // IsValidObjectPrefix verifies whether the prefix is a valid object name. // Its valid to have a empty prefix. func IsValidObjectPrefix(object string) bool { if hasBadPathComponent(object) { return false } if !utf8.ValidString(object) { return false } if strings.Contains(object, `//`) { return false } // This is valid for AWS S3 but it will never
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 37.1K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
if trafficType != "" { if !validTrafficTypes.Contains(trafficType) { return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %v", trafficType, sets.SortedList(validTrafficTypes)) } if gw.Labels == nil { gw.Labels = map[string]string{} } gw.Labels[label.IoIstioWaypointFor.Name] = trafficType
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0)