Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.29 KB

File metadata and controls

21 lines (14 loc) · 1.29 KB

fsspec-pydantic

Pydantic wrappers of fsspec types

Build Status codecov License PyPI

Overview

This library contains Pydantic validators for fsspec.

  • FileSystem = Annotated[AbstractFileSystem, FSSpecFilesystemType]: Annotation for filesystem class
  • FilePath = Annotated[Path, FSSpecPathType(path_type="file")]: Annotation for a file
  • DirectoryPath = Annotated[Path, FSSpecPathType(path_type="dir")]: Annotation for a directory

This library can be used to include fsspec types in other Pydantic models.

Note

This library was generated using copier from the Base Python Project Template repository.