Skip to content

Load and save from/to disk no longer accept pathlib.Path #6829

@albertvillanova

Description

@albertvillanova

Reported by @vttrifonov at #6704 (comment):

This change is breaking in

fs, _ = url_to_fs(dataset_path, **(storage_options or {}))

when the input is pathlib.Path. The issue is that url_to_fs expects a str and cannot deal with Path. get_fs_token_paths converts to str so it is not a problem

This change was introduced in:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions