Skip to content

Add support for pathlib.Path path arguments #45

@ezwelty

Description

@ezwelty

Many functions accept a path as argument, type-annotated as str. Many of these functions may not work when called with a pathlib.Path.

  • Update type annotations to Union[str, pathlib.Path]
  • Update functions to support pathlib.Path (list not exhaustive):
    • glimpse.exif.Exif(path)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions