Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for tag6 (0.05 sec)

  1. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_query_param_model_defaults(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_query_param_model_defaults(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

        webhooks: Optional[dict[str, Union[PathItem, Reference]]] = None
        components: Optional[Components] = None
        security: Optional[list[dict[str, list[str]]]] = None
        tags: Optional[list[Tag]] = None
        externalDocs: Optional[ExternalDocumentation] = None
    
    
    Schema.model_rebuild()
    Operation.model_rebuild()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. tests/test_forms_single_model.py

                "lastname": "Sanchez",
                "age": "70",
                "tags": ["plumbus", "citadel"],
                "with": "something",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "Rick",
            "lastname": "Sanchez",
            "age": 70,
            "tags": ["plumbus", "citadel"],
            "with": "something",
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_bigger_applications/test_main.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/": {
                    "get": {
                        "tags": ["users"],
                        "summary": "Read Users",
                        "operationId": "read_users_users__get",
                        "parameters": [
                            {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dataclasses/test_tutorial002.py

                                "name": {"title": "Name", "type": "string"},
                                "price": {"title": "Price", "type": "number"},
                                "tags": {
                                    "title": "Tags",
                                    "type": "array",
                                    "items": {"type": "string"},
                                },
                                "description": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. fastapi/routing.py

                        self.default_response_class,
                    )
                    current_tags = []
                    if tags:
                        current_tags.extend(tags)
                    if route.tags:
                        current_tags.extend(route.tags)
                    current_dependencies: list[params.Depends] = []
                    if dependencies:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  8. tests/test_filter_pydantic_sub_model_pv2.py

                                },
                                "foo": {"$ref": "#/components/schemas/ModelB"},
                                "tags": {
                                    "additionalProperties": {"type": "string"},
                                    "type": "object",
                                    "title": "Tags",
                                    "default": {},
                                },
                            },
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial004.py

                                },
                                "tax": {"title": "Tax", "type": "number", "default": 10.5},
                                "tags": {
                                    "title": "Tags",
                                    "type": "array",
                                    "items": {"type": "string"},
                                    "default": [],
                                },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_header_param_models/test_tutorial002.py

        response = client.get(
            "/items/",
            headers=[
                ("save-data", "true"),
                ("if-modified-since", "yesterday"),
                ("traceparent", "123"),
                ("x-tag", "one"),
                ("x-tag", "two"),
            ],
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "host": "testserver",
            "save_data": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top