Skip to content

Add pydantic validator support  #126

@jayqi

Description

@jayqi

If we define a couple of class methods on CloudPath, then we can support the direct use of a cloud path class as a declared type on a Pydantic model.

https://pydantic-docs.helpmanual.io/usage/types/#custom-data-types

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions