Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for userData (1.46 sec)

  1. 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
            }
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. 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>());
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. 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]
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial002.py

    
    def test_post_user(client: TestClient):
        user_data = {
            "username": "foo",
            "password": "fighter",
            "email": "******@****.***",
            "full_name": "Grave Dohl",
        }
        response = client.post(
            "/user/",
            json=user_data,
        )
        assert response.status_code == 200, response.text
        assert response.json() == user_data
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. 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")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.4K bytes
    - Viewed (1)
  6. scripts/people.py

            if count >= min_count:
                author = authors[user]
                user_data = {
                    "login": user,
                    "count": count,
                    "avatarUrl": author.avatarUrl,
                    "url": author.url,
                }
                users[user] = user_data
                users_list.append(user_data)
        return users_list
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

         * techniques like "../../../etc/passwd".
         * </p>
         * <p>
         * Example usage:
         * </p>
         * <pre>
         * Path baseDir = Paths.get("/var/app/data");
         * Path userPath = Paths.get(userInput);
         * if (!FileUtil.isPathSafe(userPath, baseDir)) {
         *     throw new SecurityException("Path traversal attempt detected");
         * }
         * </pre>
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top