Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add list_file() functional API to FSSpecFileLister and IoPathFileLister (#463) #496

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

ejguan
Copy link
Contributor

@ejguan ejguan commented Jun 6, 2022

Ref on main branch: #463

Summary:
Fixes #387

Changes

  • Adds list_file() method on IoPathFileListerIterDataPipe
  • Adds list_file() method on FSSpecFileListerIterDataPipe
  • Add tests for those methods

Additional comments

I feel as if the implementation is quite naive. Would appreciate any feedback on it.

Pull Request resolved: #463

Reviewed By: NivekT

Differential Revision: D36777142

Pulled By: ejguan

fbshipit-source-id: 1c4474776f3fcd377ae545bd8bd7bf26d0b2fa88

…er (pytorch#463)

Summary:
Fixes pytorch#387

### Changes
- Adds `list_file()` method on `IoPathFileListerIterDataPipe`
- Adds `list_file()` method on `FSSpecFileListerIterDataPipe`
- Add tests for those methods

#### Additional comments
I feel as if the implementation is quite naive. Would appreciate any feedback on it.

Pull Request resolved: pytorch#463

Reviewed By: NivekT

Differential Revision: D36777142

Pulled By: ejguan

fbshipit-source-id: 1c4474776f3fcd377ae545bd8bd7bf26d0b2fa88
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 6, 2022
@ejguan ejguan merged commit c49c752 into pytorch:release/0.4.0 Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants