- Sort Score
- Result 10 results
- Languages All
Results 1921 - 1930 of 4,044 for Fname (0.08 sec)
-
tests/test_security_api_key_query_optional.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyQuery from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyQuery(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = Security(api_key)): if oauth_header is None: return None
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
tests/test_put_no_body.py
assert response.status_code == 200, response.text assert response.json() == {"item_id": "foo"} def test_put_no_body_with_body(): response = client.put("/items/foo", json={"name": "Foo"}) assert response.status_code == 200, response.text assert response.json() == {"item_id": "foo"} def test_openapi_schema(): response = client.get("/openapi.json")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0) -
tests/test_security_api_key_cookie_optional.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyCookie from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyCookie(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = Security(api_key)): if oauth_header is None: return None
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
schema/utils_test.go
} } } func TestParseTagSettingWithDoubleQuoteEscape(t *testing.T) { tag := `gorm:"expression:to_tsvector('english', \"Name\")"` settings := ParseTagSetting(reflect.StructTag(tag).Get("gorm"), ";") if v, ok := settings["EXPRESSION"]; !ok || v != `to_tsvector('english', "Name")` { t.Errorf("ParseTagSetting did not handle escaped double quotes correctly: got %#v", v) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Oct 30 11:15:36 UTC 2025 - 1.8K bytes - Viewed (0) -
src/cmd/asm/internal/arch/s390x.go
"CRJ", "CGRJ", "CLRJ", "CLGRJ", "CIJ", "CGIJ", "CLIJ", "CLGIJ", "CALL", "JMP": return true } return false } func s390xRegisterNumber(name string, n int16) (int16, bool) { switch name { case "AR": if 0 <= n && n <= 15 { return s390x.REG_AR0 + n, true } case "F": if 0 <= n && n <= 15 { return s390x.REG_F0 + n, true } case "R":
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Oct 17 14:55:25 UTC 2019 - 1.2K bytes - Viewed (0) -
ci/official/envs/linux_arm64
TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_arm64 # Note: this is not set to "--cpu", because that changes the package name # to tensorflow_cpu. These ARM builds are supposed to have the name "tensorflow" # despite lacking Nvidia CUDA support. TFCI_BUILD_PIP_PACKAGE_WHEEL_NAME_ARG="--repo_env=WHEEL_NAME=tensorflow" TFCI_DOCKER_ENABLE=1
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Dec 13 00:14:04 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
try { Field f = findField(target.getClass(), name); f.setAccessible(true); return f.get(target); } catch (Exception e) { throw new RuntimeException(e); } } // Helper: find field in class hierarchy private static Field findField(Class<?> clazz, String name) throws NoSuchFieldException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
internal/store/queuestore_test.go
jsoniter "github.com/json-iterator/go" "github.com/valyala/bytebufferpool" ) type TestItem struct { Name string `json:"Name"` Property string `json:"property"` } var ( // TestDir queueDir = filepath.Join(os.TempDir(), "minio_test") // Sample test item. testItem = TestItem{Name: "test-item", Property: "property"} // Ext for test item testItemExt = ".test" ) // Initialize the queue store.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
* specific name, thread group or priority. The returned executor's {@link * Executor#execute(Runnable) execute()} method is called when this service is started, and should * return promptly. * * <p>The default implementation returns a new {@link Executor} that sets the name of its threads * to the string returned by {@link #serviceName} */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.5K bytes - Viewed (0) -
tests/test_request_params/test_header/test_optional_str.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.2K bytes - Viewed (0)