- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for __get_validators__ (0.44 sec)
-
fastapi/datastructures.py
""" Close the file. To be awaitable, compatible with async, this is run in threadpool. """ return await super().close() @classmethod def __get_validators__(cls: Type["UploadFile"]) -> Iterable[Callable[..., Any]]: yield cls.validate @classmethod def validate(cls: Type["UploadFile"], v: Any) -> Any: if not isinstance(v, StarletteUploadFile):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 5.6K bytes - Viewed (0) -
fastapi/openapi/models.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 22:49:33 UTC 2024 - 15K bytes - Viewed (0)