- Sort Score
- Num 10 results
- Language All
Results 1461 - 1470 of 4,419 for getI (0.02 seconds)
-
tests/test_security_scopes.py
def get_db(): call_counter["count"] += 1 return f"db_{call_counter['count']}" def get_user(db: Annotated[str, Depends(get_db)]): return "user" app = FastAPI() @app.get("/") def endpoint( db: Annotated[str, Depends(get_db)], user: Annotated[str, Security(get_user, scopes=["read"])], ): return {"db": db} return app
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1006 bytes - Click Count (0) -
tests/test_security_scopes_dont_propagate.py
): return {"dep1": dep1, "dep2": dep2} app = FastAPI() @app.get("/scopes") def get_scopes( dep3: Annotated[dict[str, Any], Security(dep3, scopes=["scope3"])], ): return dep3 client = TestClient(app) def test_security_scopes_dont_propagate(): response = client.get("/scopes") assert response.status_code == 200 assert response.json() == {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 973 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
if (logger.isDebugEnabled()) { logger.debug("[{}] thumbnail: {}", name, docMap.get(thumbnailFieldName)); } if (!docMap.containsKey(thumbnailFieldName)) { return false; } for (final Map.Entry<String, String> entry : conditionMap.entrySet()) { if (docMap.get(entry.getKey()) instanceof final String value && value.matches(entry.getValue())) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
TesterRequirements requirements = classTesterRequirementsCache.get(testerClass); if (requirements == null) { requirements = buildTesterRequirements(testerClass); classTesterRequirementsCache.put(testerClass, requirements); } return requirements; } } /** * Get the full set of requirements for a tester class. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
* * <p>This method should be overridden when bulk retrieval is significantly more efficient than * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls * to {@link LoadingCache#get} if this method is not overridden. * * @param keys the unique, non-null keys whose values should be loaded * @return a map from each key in {@code keys} to the value associated with that key; <b>may notCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
internal/config/batch/batch.go
cfg.ExpirationWorkersWait = 0 rduration, err := time.ParseDuration(env.Get(EnvReplicationWorkersWait, kvs.GetWithDefault(ReplicationWorkersWait, DefaultKVS))) if err != nil { return cfg, err } if rduration < 0 { return cfg, config.ErrInvalidBatchReplicationWorkersWait(nil) } kduration, err := time.ParseDuration(env.Get(EnvKeyRotationWorkersWait, kvs.GetWithDefault(KeyRotationWorkersWait, DefaultKVS)))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
dependencies { api(platform("gradlebuild:build-platform")) implementation("gradlebuild:gradle-plugin") testImplementation(testLibs.findLibrary("junit5Vintage").get()) testRuntimeOnly(testLibs.findLibrary("junitPlatform").get()) } tasks.withType<KotlinCompile>().configureEach { compilerOptions { allWarningsAsErrors = true } } detekt {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 1.7K bytes - Click Count (0) -
.github/workflows/update-perf-test-buckets.yml
uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all aws-region: "eu-central-1" - name: get secrets uses: aws-actions/aws-secretsmanager-get-secrets@v3 with: secret-ids: | PERFORMANCE_DB_URL, gha/gradle/_all/PERFORMANCE_DB_URL PERFORMANCE_DB_USERNAME, gha/gradle/_all/PERFORMANCE_DB_USERNAMECreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 24 22:05:21 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java
assertEquals("value1", result.get("test_key")); assertEquals("value2", result.get("another_test_key")); @SuppressWarnings("unchecked") Map<String, Object> nestedResult = (Map<String, Object>) result.get("nested_map"); assertEquals("nestedValue", nestedResult.get("nested_key")); } @Test public void test_toLowerHyphen_emptyMap() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 16.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
getDocumentationRoot().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(file -> { gatherDeadLinksInFile(file, errors); }); reportErrors(errors, getReportFile().get().getAsFile()); } private void reportErrors(Map<File, List<Error>> errors, File reportFile) { try (PrintWriter fw = new PrintWriter(new FileWriter(reportFile))) { writeHeader(fw);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 23:22:57 GMT 2026 - 12.8K bytes - Click Count (0)