Pydantic · Type Alias
DirectoryPath
DirectoryPath is a Pydantic type for paths that must point to existing directories. It rejects files and paths that do not exist.
Last updated
Syntax
class Model(BaseModel):
folder: DirectoryPathIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
PathFilePathNewPathSocketPathBaseModelValidationError