Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __get_pydantic_json_schema__ (0.25 sec)

  1. fastapi/datastructures.py

            @classmethod
            def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
                field_schema.update({"type": "string", "format": "binary"})
    
        @classmethod
        def __get_pydantic_json_schema__(
            cls, core_schema: CoreSchema, handler: GetJsonSchemaHandler
        ) -> JsonSchemaValue:
            return {"type": "string", "format": "binary"}
    
        @classmethod
        def __get_pydantic_core_schema__(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 5.6K bytes
    - Viewed (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: CoreSchema, handler: GetJsonSchemaHandler
            ) -> JsonSchemaValue:
                return {"type": "string", "format": "email"}
    
            @classmethod
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top