- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,072 for difference (0.09 sec)
-
docs/en/docs/tutorial/handling-errors.md
#### FastAPI's `HTTPException` vs Starlette's `HTTPException` **FastAPI** has its own `HTTPException`. And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class. The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it. So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
fastapi/security/oauth2.py
collected using form data (instead of JSON) and that it should have the specific fields `username` and `password`. All the initialization parameters are extracted from the request. The only difference between `OAuth2PasswordRequestFormStrict` and `OAuth2PasswordRequestForm` is that `OAuth2PasswordRequestFormStrict` requires the client to send the form field `grant_type` with the value `"password"`, which
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
* incorrect values. This is useful for testing methods that must treat the return value from * size() as a hint only. * * @param delta the difference between the true size of the collection and the values returned by * the size method */ public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* {@linkplain Cache#invalidate invalidations}. */ public long evictionCount() { return evictionCount; } /** * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats} * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be * rounded up to zero. */ public CacheStats minus(CacheStats other) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* {@linkplain Cache#invalidate invalidations}. */ public long evictionCount() { return evictionCount; } /** * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats} * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be * rounded up to zero. */ public CacheStats minus(CacheStats other) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* * <p>Results are undefined if {@code set1} and {@code set2} are sets based on different * equivalence relations, for example if {@code set1} is a {@link HashSet} and {@code set2} is a * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}. */ public static <E extends @Nullable Object> SetView<E> difference( final Set<E> set1, final Set<?> set2) { checkNotNull(set1, "set1");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
common = i break } } a, b = a[common:], b[common:] if len(a) > 64 { a = a[:64] } if len(b) > 64 { b = b[:64] } t.Errorf("after %d common bytes, difference \nread: %x\nwrote:%x", common, a, b) } t.Fatalf("expect read %d bytes but got %d", wroteBytes, readBytes) } if readHash.Sum32() != wroteHash.Sum32() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* "an unused RateLimiter" is also defined by that notion: when we observe that the * "expected arrival time of the next request" is actually in the past, then the difference (now - * past) is the amount of time that the RateLimiter was formally unused, and it is that amount of * time which we translate to storedPermits. (We increase storedPermits with the amount of permits
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* resulting XML document is parsed, the parser API will return this text as the original literal * string {@code "Foo<Bar>"}. * * <p><b>Note:</b> This class is similar to {@link CharEscaper} but with one very important * difference. A CharEscaper can only process Java <a * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 13.2K bytes - Viewed (0) -
cmd/bucket-handlers.go
// but if we do see a difference with local domain IPs with // hostSlice from etcd then we should update with newer // domainIPs, we proceed to do that here. bucketsToBeUpdated.Add(bucket) continue } // No IPs seem to intersect, this means that bucket exists but has // different IP addresses perhaps from a different deployment.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 63.4K bytes - Viewed (0)