Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,256 for description (0.28 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial006_py310.py

        assert response.json() == {"name": "Bar", "description": "The Bar fighters"}
    
    
    @needs_py310
    def test_read_item_public_data(client: TestClient):
        response = client.get("/items/bar/public")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Bar",
            "description": "The Bar fighters",
            "price": 62,
        }
    
    
    @needs_py310
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. tests/test_extra_routes.py

                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. tests/test_generate_unique_id_function.py

                    "Message": {
                        "title": "Message",
                        "required": ["title", "description"],
                        "type": "object",
                        "properties": {
                            "title": {"title": "Title", "type": "string"},
                            "description": {"title": "Description", "type": "string"},
                        },
                    },
                    "ValidationError": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. common/scripts/metallb-native.yaml

                type: object
              spec:
                description: BGPPeerSpec defines the desired state of Peer.
                properties:
                  bfdProfile:
                    type: string
                  ebgpMultiHop:
                    description: EBGP peer is multi-hops away
                    type: boolean
                  holdTime:
                    description: Requested BGP hold time, per RFC4271.
                    type: string
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

          description: Tell us what happens
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: Expected Behavior
          description: Tell us what should happen
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
          label: Context (optional)
          description: |
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Mon Sep 09 14:48:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_extra_models/test_tutorial003_py310.py

                        "required": IsOneOf(
                            ["description", "type", "size"],
                            # TODO: remove when deprecating Pydantic v1
                            ["description", "size"],
                        ),
                        "type": "object",
                        "properties": {
                            "description": {"title": "Description", "type": "string"},
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. tests/test_response_model_as_return_annotation.py

                        "operationId": "no_response_model_no_annotation_return_model_no_response_model_no_annotation_return_model_get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                    }
                },
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py

                        },
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_metadata/test_tutorial004.py

                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                    }
                },
            },
            "tags": [
                {
                    "name": "users",
                    "description": "Operations with users. The **login** logic is also here.",
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-operation-configuration.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="20-21"
    {!> ../../docs_src/path_operation_configuration/tutorial003.py!}
    ```
    
    ////
    
    ## Description from docstring
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top