-
Notifications
You must be signed in to change notification settings - Fork 19
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 fetch_wasabi_file() utility function. #141
Conversation
Excellent, thanks @israelmcmc! The code works well from the command line. However, I still get the following error when trying to run in my Jupyter Notebook:
I have a similar problem when trying to run:
Error: I think @fieldrog and @saurabhmittal23 mentioned that they had a similar issue, and needed to use the install instructions from the aws page: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html. One additional comment: Can you please add documentation for this new method (i.e. doc string). As part of this, please make clear that the passed file needs to be the full wasabi path. |
…H in Jupyter. Also add docstring
@ckarwin Can you try again, please? I think the last change should fix this. I realized awscli does have an underlying python API, but it was not documented. I also added the documentation, thanks for noticing that. |
Awesome @israelmcmc, it works now. Please double check the doc string format and let me know if it's ready to be merged. |
I added the space before |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to be merged.
Includes a unit test.
Usage:
test_file.txt
is an actual file I added to the public wasabi folder in order to test this with a small file.