Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for __get_pydantic_json_schema__ (0.09 seconds)

  1. fastapi/datastructures.py

                raise ValueError(f"Expected UploadFile, received: {type(__input_value)}")
            return cast(UploadFile, __input_value)
    
        @classmethod
        def __get_pydantic_json_schema__(
            cls, core_schema: Mapping[str, Any], handler: GetJsonSchemaHandler
        ) -> dict[str, Any]:
            return {"type": "string", "contentMediaType": "application/octet-stream"}
    
        @classmethod
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. fastapi/openapi/models.py

                    "To install, run: pip install email-validator"
                )
                return str(__input_value)
    
            @classmethod
            def __get_pydantic_json_schema__(
                cls, core_schema: Mapping[str, Any], handler: GetJsonSchemaHandler
            ) -> dict[str, Any]:
                return {"type": "string", "format": "email"}
    
            @classmethod
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top