Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for forma (0.01 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial002.py

                        "properties": {
                            "files": {
                                "title": "Files",
                                "type": "array",
                                "items": {"type": "string", "format": "binary"},
                            }
                        },
                    },
                    "Body_create_files_files__post": {
                        "title": "Body_create_files_files__post",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial001_02.py

                            "properties": {
                                "file": {
                                    "title": "File",
                                    "anyOf": [
                                        {"type": "string", "format": "binary"},
                                        {"type": "null"},
                                    ],
                                }
                            },
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

                        "properties": {
                            "file": {"title": "File", "type": "string", "format": "binary"},
                            "fileb": {
                                "title": "Fileb",
                                "type": "string",
                                "format": "binary",
                            },
                            "token": {"title": "Token", "type": "string"},
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial005.py

                                "password": {
                                    "title": "Password",
                                    "type": "string",
                                    "format": "password",
                                },
                                "scope": {
                                    "title": "Scope",
                                    "type": "string",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_extra_data_types/test_tutorial001.py

                                    "type": "string",
                                    "format": "date-time",
                                },
                                "end_datetime": {
                                    "title": "End Datetime",
                                    "type": "string",
                                    "format": "date-time",
                                },
                                "repeat_at": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. tests/test_request_params/test_file/test_optional.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [
                        {"type": "string", "format": "binary"},
                        {"type": "null"},
                    ],
                    "title": "P",
                }
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. tests/test_request_params/test_form/test_optional_list.py

    ):
        return {"p": p}
    
    
    class FormModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    async def read_model_optional_list_str(p: Annotated[FormModelOptionalListStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. tests/test_request_params/test_file/test_list.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "type": "array",
                    "items": {"type": "string", "format": "binary"},
                    "title": "P",
                },
            },
            "required": ["p"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. tests/test_request_params/test_form/test_list.py

    async def read_required_list_str(p: Annotated[list[str], Form()]):
        return {"p": p}
    
    
    class FormModelRequiredListStr(BaseModel):
        p: list[str]
    
    
    @app.post("/model-required-list-str", operation_id="model_required_list_str")
    def read_model_required_list_str(p: Annotated[FormModelRequiredListStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_response_model/test_tutorial003_01.py

                                "email": {
                                    "title": "Email",
                                    "type": "string",
                                    "format": "email",
                                },
                                "full_name": {
                                    "title": "Full Name",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top