Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for schemas (1.34 sec)

  1. docs_src/sql_databases/sql_app_py310/schemas.py

    Sebastián Ramírez <******@****.***> 1641564691 +0100
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 464 bytes
    - Viewed (0)
  2. docs_src/sql_databases/sql_app_py39/schemas.py

    Sebastián Ramírez <******@****.***> 1652529599 -0500
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 496 bytes
    - Viewed (0)
  3. docs_src/sql_databases_peewee/sql_app/schemas.py

    Sebastián Ramírez <******@****.***> 1652529599 -0500
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 868 bytes
    - Viewed (0)
  4. docs_src/sql_databases/sql_app/schemas.py

    Sebastián Ramírez <******@****.***> 1652529599 -0500
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 502 bytes
    - Viewed (0)
  5. docs/de/docs/how-to/separate-openapi-schemas.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial002.py!}
        ```
    
    ### Gleiches Schema für Eingabe- und Ausgabemodelle in der Dokumentation
    
    Und jetzt wird es ein einziges Schema für die Eingabe und Ausgabe des Modells geben, nur `Item`, und es wird `description` als **nicht erforderlich** kennzeichnen:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:18:03 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/separate-openapi-schemas.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial002.py!}
        ```
    
    ### Same Schema for Input and Output Models in Docs
    
    And now there will be one single schema for input and output for the model, only `Item`, and it will have `description` as **not required**:
    
    <div class="screenshot">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. tests/test_openapi_separate_input_output_schemas.py

        if PYDANTIC_V2:
            model_config = {"json_schema_serialization_defaults_required": True}
    
    
    class Item(BaseModel):
        name: str
        description: Optional[str] = None
        sub: Optional[SubItem] = None
        if PYDANTIC_V2:
            model_config = {"json_schema_serialization_defaults_required": True}
    
    
    def get_app_client(separate_input_output_schemas: bool = True) -> TestClient:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 18.4K bytes
    - Viewed (2)
  8. tests/test_include_router_defaults_overrides.py

                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
                                        }
                                    }
                                },
                            },
                            "500": {"description": "Server error level 0"},
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Item"}
                                    }
                                },
                            },
                            "422": {
                                "description": "Validation Error",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  10. tests/test_request_body_parameters_media_type.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top