Skip to content

Invalid return value in RemotePathIterator when batch_size=1 or a directory only contains a single file #4

Description

@asgersvenning

When trying to iterate over a directory with a single file (which matches pattern, i.e. RemotePathIterator.remote_paths has length 1) or batch_size = 1, the IOHandler.download branch for downloading a single file is triggered, which returns "/" as the local path, instead of the path to the file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions