- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for user_data (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_dependency_security_overrides.py
return [1, 2, 3] def get_data_override(): return [3, 4, 5] @app.get("/user") def read_user( user_data: tuple[str, list[str]] = Security(get_user, scopes=["foo", "bar"]), data: list[int] = Depends(get_data), ): return {"user": user_data[0], "scopes": user_data[1], "data": data} client = TestClient(app) def test_normal(): response = client.get("/user")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.4K bytes - Click Count (1) -
scripts/people.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:51:24 GMT 2026 - 15K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
Map userData = [seenApiChanges: [] as Set] String getClassName() { return null } Map<String, ?> getUserData() { return userData } Object getUserData(String key) { return userData[key] } void putUserData(String key, Object value) { userData[key] = value } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 2K bytes - Click Count (0) -
tests/test_dependency_after_yield_streaming.py
@app.get("/stream-simple") def get_stream_simple(session: SessionDep) -> Any: def iter_data(): yield from ["x", "y", "z"] return StreamingResponse(iter_data()) @app.get("/stream-session") def get_stream_session(session: SessionDep) -> Any: def iter_data(): yield from session return StreamingResponse(iter_data()) @app.get("/broken-session-data")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java
} } @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContext context) { Map<String, Object> userData = (Map<String, Object>) context.getUserData(); userData.put("acceptedApiChanges", acceptedApiChanges); userData.put("seenApiChanges", new HashSet<ApiChange>()); }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 1.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) { Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.userData["seenApiChanges"] Set<AccessorKey> seenOldAccessorsOfUpgradedProperties = (Set<AccessorKey>) context.userData[SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES]Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:18:18 GMT 2026 - 10K bytes - Click Count (0)