- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 2,110 for defaults (0.05 sec)
-
tests/test_param_class.py
from typing import Optional from fastapi import FastAPI from fastapi.params import Param from fastapi.testclient import TestClient app = FastAPI() @app.get("/items/") def read_items(q: Optional[str] = Param(default=None)): # type: ignore return {"q": q} client = TestClient(app) def test_default_param_query_none(): response = client.get("/items/") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 636 bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @return a time-limiting proxy * @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or * annotation type, rather than an interface * @since 28.0 */ default <T> T newProxy(T target, Class<T> interfaceType, Duration timeout) { return newProxy(target, interfaceType, toNanosSaturated(timeout), TimeUnit.NANOSECONDS); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
* @param request The model building request that holds further settings, must not be {@code null}. * @param problems The container used to collect problems that were encountered, must not be {@code null}. */ default org.apache.maven.api.model.Model injectProfile( org.apache.maven.api.model.Model model, org.apache.maven.api.model.Profile profile, ModelBuildingRequest request,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
cmd/tier_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 4K bytes - Viewed (0) -
cmd/warm-backend.go
if _, ok := err.(BackendDown); ok { return err } switch { case isErrBucketNotFound(err): return errTierBucketNotFound case isErrSignatureDoesNotMatch(err): return errTierInvalidCredentials default: return tierPermErr{ Op: tierGet, Err: err, } } } if err = w.Remove(ctx, probeObject, remoteVersionID); err != nil { if _, ok := err.(BackendDown); ok { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 4K bytes - Viewed (0) -
okhttp-coroutines/README.md
withContext(Dispatchers.IO) { println(response.body?.string()) } } ``` This is implemented using `suspendCancellableCoroutine` but uses the standard Dispatcher in OkHttp. This means that by default Kotlin's Dispatchers are not used. Cancellation if implemented sensibly in both directions. Cancelling a coroutine scope, will cancel the call. Cancelling a call, will throw a CancellationException
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Nov 09 15:47:27 UTC 2023 - 609 bytes - Viewed (0) -
src/main/webapp/js/admin/bootstrap.min.js.map
|| navigator.maxTouchPoints > 0\n this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent)\n\n this._addEventListeners()\n }\n\n // Getters\n static get VERSION() {\n return VERSION\n }\n\n static get Default() {\n return Default\n }\n\n // Public\n next() {\n if (!this._isSliding) {\n this._slide(DIRECTION_NEXT)\n }\n }\n\n nextWhenVisible() {\n const $element = $(this._element)\n // Don't call next when the page isn't visible\n // or...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 180.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
for (Profile profile1 : profiles) { addProfile(profile1); } } public void activateAsDefault(String profileId) { if (!defaultIds.contains(profileId)) { defaultIds.add(profileId); } } public List<String> getExplicitlyActivatedIds() { return activatedIds; } public List<String> getExplicitlyDeactivatedIds() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
* * <pre>{@code * Splitter.on(',').split("foo,bar,qux") * }</pre> * * ... produces an {@code Iterable} containing {@code "foo"}, {@code "bar"} and {@code "qux"}, in * that order. * * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The following * expression: * * <pre>{@code * Splitter.on(',').split(" foo,,, bar ,") * }</pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 21:14:05 UTC 2024 - 24.5K bytes - Viewed (0)