- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 3,545 for getD (0.03 sec)
-
tests/test_security_http_digest_optional.py
client = TestClient(app) def test_security_http_digest(): response = client.get("/users/me", headers={"Authorization": "Digest foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Digest", "credentials": "foobar"} def test_security_http_digest_no_credentials(): response = client.get("/users/me") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
tests/test_security_http_bearer_description.py
security = HTTPBearer(description="HTTP Bearer token scheme") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 87.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
public void run() { assertSame(Boolean.TRUE, memoizedSupplier.get()); } }; } for (Thread t : threads) { t.start(); } for (Thread t : threads) { t.join(); } if (thrown.get() != null) { throw thrown.get(); } assertEquals(1, count.get()); } @J2ktIncompatible @GwtIncompatible // Thread
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
public void run() { assertSame(Boolean.TRUE, memoizedSupplier.get()); } }; } for (Thread t : threads) { t.start(); } for (Thread t : threads) { t.join(); } if (thrown.get() != null) { throw thrown.get(); } assertEquals(1, count.get()); } @J2ktIncompatible @GwtIncompatible // Thread
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
return !isEmptyArray(conditions.get(AS_Q))// || !isEmptyArray(conditions.get(AS_EPQ))// || !isEmptyArray(conditions.get(AS_OQ))// || !isEmptyArray(conditions.get(AS_NQ))// || !isEmptyArray(conditions.get(AS_TIMESTAMP))// || !isEmptyArray(conditions.get(AS_SITESEARCH))// || !isEmptyArray(conditions.get(AS_FILETYPE)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.8K bytes - Viewed (0) -
tests/test_tutorial/test_path_params/test_tutorial005.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 5K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006.py
client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials(): response = client.get("/users/me") assert response.json() == {"detail": "Not authenticated"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsScheduledJobBhv.java
result.setName(DfTypeUtil.toString(source.get("name"))); result.setScriptData(DfTypeUtil.toString(source.get("scriptData"))); result.setScriptType(DfTypeUtil.toString(source.get("scriptType"))); result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder"))); result.setTarget(DfTypeUtil.toString(source.get("target")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.2K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
return client def test_users_token_jessica(client: TestClient): response = client.get("/users?token=jessica") assert response.status_code == 200 assert response.json() == [{"username": "Rick"}, {"username": "Morty"}] def test_users_with_no_token(client: TestClient): response = client.get("/users") assert response.status_code == 422 assert response.json() == IsDict( {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0)