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

Use cache_file instead of get_file #138

Open
wants to merge 5 commits into
base: 2019.2
Choose a base branch
from

Conversation

rsmekala
Copy link

@rsmekala rsmekala commented Sep 11, 2019

What does this PR do?

Replace get_file with cache_file. It gives us the following advantages

  1. It is only copied if it already not cached.
  2. It allows us to preserve the file extensions.
  3. No onus of creating a temporary location.

Testing

No

@rsmekala rsmekala requested a review from vnitinv September 11, 2019 14:42
@rsmekala rsmekala changed the title Use cache_file instead of get_file WIP: Use cache_file instead of get_file Sep 11, 2019
@rsmekala rsmekala changed the title WIP: Use cache_file instead of get_file Use cache_file instead of get_file Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant