Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for __get_validators__ (0.06 seconds)

  1. fastapi/openapi/models.py

        from pydantic import EmailStr
    except ImportError:  # pragma: no cover
    
        class EmailStr(str):  # type: ignore  # ty: ignore[unused-ignore-comment]
            @classmethod
            def __get_validators__(cls) -> Iterable[Callable[..., Any]]:
                yield cls.validate
    
            @classmethod
            def validate(cls, v: Any) -> str:
                logger.warning(
    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