-
Notifications
You must be signed in to change notification settings - Fork 199
Filestream #30
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
Filestream #30
Conversation
…ready have unit tests for.
Putting this up here for some CR. I got frustrated trying to get the file streaming working with 2.6, but I will give it a try later this week. |
Why did you re-add all the dynamic function constructors? I thought we were getting away from those? https://github.com/ipfs/python-ipfs-api/pull/30/files#diff-33e409056abcd2472116a6860bf25cafR43 |
I didn't re-add them, I just made the methods wrap calls to those functions so that we could add helpful docstrings. I agree with you that decorators are confusing, and this is the same thing the decorators did but hopefully more readable. |
This PR fixes file streaming so that file uploads and downloads are chunked. Also added support for the get command to download files straight to disk. Fixes #2 and #28.