- Sort Score
- Result 10 results
- Languages All
Results 971 - 980 of 3,796 for get (0.03 sec)
-
tests/test_http_connection_injection.py
from starlette.websockets import WebSocket app = FastAPI() app.state.value = 42 async def extract_value_from_http_connection(conn: HTTPConnection): return conn.app.state.value @app.get("/http") async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)): return value @app.websocket("/ws") async def get_value_by_ws(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 09 13:56:41 UTC 2020 - 972 bytes - Viewed (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py
from fastapi.testclient import TestClient from docs_src.configure_swagger_ui.tutorial001 import app client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert ( '"syntaxHighlight": false' in response.text ), "syntaxHighlight should be included and converted to JSON" assert ( '"dom_id": "#swagger-ui"' in response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 19 19:54:04 UTC 2023 - 1.4K bytes - Viewed (0) -
docs/lambda/README.md
# Get the presigned URL to fetch the requested # original object from MinIO s3_url = object_context["inputS3Url"] # Extract the route and request token from the input context request_route = object_context["outputRoute"] request_token = object_context["outputToken"] # Get the original S3 object using the presigned URL r = requests.get(s3_url)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Apr 04 19:15:28 UTC 2023 - 7.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
Authentication result = new Authentication( authCtx.get(AuthenticationContext.USERNAME), authCtx.get(AuthenticationContext.PASSWORD)); result.setPrivateKey(authCtx.get(AuthenticationContext.PRIVATE_KEY_PATH)); result.setPassphrase(authCtx.get(AuthenticationContext.PRIVATE_KEY_PASSPHRASE)); authCtx.close();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* (optional but recommended). * @throws CancellationException {@inheritDoc} */ @CanIgnoreReturnValue @Override public V get(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, ExecutionException { return sync.get(unit.toNanos(timeout)); } /* * Improve the documentation of when InterruptedException is thrown. Our
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 13.6K bytes - Viewed (0) -
docs/pl/docs/index.md
* Potwierdzi, że w ścieżce jest `item_id` dla żądań `GET` i `PUT`. * Potwierdzi, że `item_id` jest typu `int` dla żądań `GET` i `PUT`. * Jeżeli nie jest, odbiorca zobaczy przydatną, przejrzystą wiadomość z błędem. * Sprawdzi czy w ścieżce jest opcjonalny parametr zapytania `q` (np. `http://127.0.0.1:8000/items/foo?q=somequery`) dla żądania `GET`. * Jako że parametr `q` jest zadeklarowany jako `= None`, jest on opcjonalny.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 19.3K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
} // Query string. queryStr := req.Form.Encode() // Get canonical request. canonicalRequest := getCanonicalRequest(extractedSignedHeaders, payload, queryStr, req.URL.Path, req.Method) // Get string to sign from canonical request. stringToSign := getStringToSign(canonicalRequest, date, signV4Values.Credential.getScope()) // Get hmac signing key.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
synchronized ( this.dcLock ) { CacheEntry<DfsReferralDataInternal> ce = this.dcCache.get(dom); if ( ce != null && System.currentTimeMillis() > ce.expiration ) { ce = null; } if ( ce != null ) { DfsReferralDataInternal ri = ce.map.get(DC_ENTRY); if ( ri == NEGATIVE_ENTRY ) { return null; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:07:29 UTC 2023 - 29.1K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
previous_end_line = None for url, lines in result_store_links.items(): lines['status'] = InvokeStatus.passed # default to passed start_line = lines['start'] end_line = lines.get('end', lines.get('next_url', len(log_lines))) - 1 k = end_line while k > start_line: backtrack_line = log_lines[k] build_failed = backtrack_line.startswith(FAILED_BUILD_LINE)
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
docs/sts/web-identity.go
return } if r.Form.Get("state") != state { http.Error(w, "state did not match", http.StatusBadRequest) return } var getWebTokenExpiry func() (*credentials.WebIdentityToken, error) if clientSec == "" { getWebTokenExpiry = func() (*credentials.WebIdentityToken, error) { return &credentials.WebIdentityToken{ Token: r.Form.Get("id_token"), }, nil } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0)