Skip to content

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

Merged
merged 16 commits into from
Oct 8, 2015
Merged

Filestream #30

merged 16 commits into from
Oct 8, 2015

Conversation

amstocker
Copy link
Contributor

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.

@amstocker
Copy link
Contributor Author

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.

@BrendanBenshoof
Copy link

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

@amstocker
Copy link
Contributor Author

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.

amstocker added a commit that referenced this pull request Oct 8, 2015
Multipart file streaming.  Fixes #2 and #28.
@amstocker amstocker merged commit fb42bc0 into master Oct 8, 2015
@amstocker amstocker mentioned this pull request Oct 8, 2015
@ntninja ntninja deleted the filestream branch September 2, 2016 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File Streaming
2 participants