Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 42 for payload (0.04 seconds)

  1. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertNotNull(annotation, "Annotation should be present on field");
            assertEquals("Payload length should be 2", 2, annotation.payload().length);
            assertEquals("First payload should be TestPayload", TestPayload.class, annotation.payload()[0]);
            assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, annotation.payload()[1]);
        }
    
        // Test annotation on method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Should have 2 payloads", 2, multiAnnotation.payload().length);
            assertEquals("First payload should be TestPayload", TestPayload.class, multiAnnotation.payload()[0]);
            assertEquals("Second payload should be AnotherTestPayload", AnotherTestPayload.class, multiAnnotation.payload()[1]);
        }
    
        // Additional test interfaces for multiple groups/payloads test
        private interface AnotherTestGroup {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. tests/test_security_http_basic_optional.py

        assert response.headers["WWW-Authenticate"] == "Basic"
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_security_http_basic_non_basic_credentials():
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
        response = client.get("/users/me", headers={"Authorization": auth_header})
        assert response.status_code == 401, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

                }
    
                @Override
                public Class<?>[] groups() {
                    return new Class<?>[0];
                }
    
                @Override
                public Class<? extends Payload>[] payload() {
                    return new Class[0];
                }
    
                @Override
                public String minKey() {
                    return "";
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/vibe.md

    The `@app.vibe()` decorator is intended to receive **any HTTP method** (`GET`, `POST`, `PUT`, `DELETE`, `PATCH`, etc.) and **any payload**.
    
    The body should be annotated with `Any`, because the request and the response would be... well... **anything**. 🤷
    
    The idea is that you would receive the payload and send it **directly** to an LLM provider, using a `prompt` to tell the LLM what to do, and return the response **as is**. No questions asked.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  6. .github/workflows/notify-on-rc-for-manual-test.yml

            id: slack
            uses: slackapi/slack-github-action@v3.0.1
            with:
              webhook: ${{ secrets.IDE_EXPERIENCE_TEAM_SLACK_WEBHOOK_URL }}
              webhook-type: incoming-webhook
              payload: |
                text: "<https://github.com/gradle/gradle/${{ github.event.ref }}|[gradle/gradle#${{ github.event.ref }}]> has been pushed"
                blocks:
                  - type: "section"
                    text:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 22:04:33 GMT 2026
    - 912 bytes
    - Click Count (0)
  7. fastapi/sse.py

        For example, `data="hello"` produces `data: "hello"` on the wire (with
        quotes).
        """
    
        data: Annotated[
            Any,
            Doc(
                """
                The event payload.
    
                Can be any JSON-serializable value: a Pydantic model, dict, list,
                string, number, etc. It is **always** serialized to JSON: strings
                are quoted (`"hello"` becomes `data: "hello"` on the wire).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/generate-clients.md

    Let's start with a simple FastAPI application:
    
    {* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *}
    
    Notice that the *path operations* define the models they use for request payload and response payload, using the models `Item` and `ResponseMessage`.
    
    ### API Docs { #api-docs }
    
    If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  9. docs_src/security/tutorial005_py310.py

            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            scope: str = payload.get("scope", "")
            token_scopes = scope.split(" ")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. docs_src/security/tutorial005_an_py310.py

            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username = payload.get("sub")
            if username is None:
                raise credentials_exception
            scope: str = payload.get("scope", "")
            token_scopes = scope.split(" ")
            token_data = TokenData(scopes=token_scopes, username=username)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top