Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Use PathManager for all I/O #1198

Closed
wants to merge 2 commits into from

Conversation

hudeven
Copy link
Contributor

@hudeven hudeven commented Dec 16, 2019

Summary: Any I/O API X (open, exists, isfile, etc) need to use "PathManager.X()", such that either file, manifold uri, http uri, etc can be supported in PyText without any code changes(handle for each storage type)

Differential Revision: D19085748

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Dec 16, 2019
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D19085748

hudeven added a commit to hudeven/pytext that referenced this pull request Dec 17, 2019
Summary:
Pull Request resolved: facebookresearch#1198

Any I/O API X (open, exists, isfile, etc) need to use "PathManager.X()", such that either file, manifold uri, http uri, etc can be supported in PyText without any code changes(handle for each storage type)

Differential Revision: D19085748

fbshipit-source-id: 841b0cf7a37805016e6ce2cfb771ea1f38cdbbb1
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D19085748

hudeven added a commit to hudeven/pytext that referenced this pull request Dec 18, 2019
Summary:
Pull Request resolved: facebookresearch#1198

Any I/O API X (open, exists, isfile, etc) need to use "PathManager.X()", such that either file, manifold uri, http uri, etc can be supported in PyText without any code changes(handle for each storage type)

Reviewed By: chenyangyu1988

Differential Revision: D19085748

fbshipit-source-id: c0d4537da88df3ddfbf1f4cc5587fdc36c35e6ea
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D19085748

hudeven added a commit to hudeven/pytext that referenced this pull request Dec 18, 2019
Summary:
Pull Request resolved: facebookresearch#1198

Any I/O API X (open, exists, isfile, etc) need to use "PathManager.X()", such that either file, manifold uri, http uri, etc can be supported in PyText without any code changes(handle for each storage type)

Reviewed By: chenyangyu1988

Differential Revision: D19085748

fbshipit-source-id: 956566f801ae9106f5d5917b36295aff771107e4
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D19085748

hudeven added a commit to hudeven/pytext that referenced this pull request Dec 18, 2019
Summary:
Pull Request resolved: facebookresearch#1198

Any I/O API X (open, exists, isfile, etc) need to use "PathManager.X()", such that either file, manifold uri, http uri, etc can be supported in PyText without any code changes(handle for each storage type)

Reviewed By: chenyangyu1988

Differential Revision: D19085748

fbshipit-source-id: 81805bd12c6808c23821340d0cc364bfae5cd5e4
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D19085748

Differential Revision: D18803124

fbshipit-source-id: 10f1a9837c2d820db0278eaae8fefe26e0a427ee
Summary:
Pull Request resolved: facebookresearch#1198

Any I/O API X (open, exists, isfile, etc) need to use "PathManager.X()", such that either file, manifold uri, http uri, etc can be supported in PyText without any code changes(handle for each storage type)

Reviewed By: chenyangyu1988

Differential Revision: D19085748

fbshipit-source-id: 46235e3c9dc8798f16f763dbcf3a583233e0d1a6
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D19085748

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7ac6144.

@hudeven hudeven deleted the export-D19085748 branch April 6, 2020 23:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants