Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Add upload_from_file() method#60

Closed
dahlia wants to merge 1 commit into
Imgur:masterfrom
dahlia:upload-from-file
Closed

Add upload_from_file() method#60
dahlia wants to merge 1 commit into
Imgur:masterfrom
dahlia:upload-from-file

Conversation

@dahlia

@dahlia dahlia commented Jan 29, 2016

Copy link
Copy Markdown

This patch adds upload_from_file() method which takes an arbitrary readable file object and uploads it to imgur. It’s a more generalized version of upload_from_path(). It’s useful when the image binary isn’t stored to file but in the memory e.g. through io.BytesIO object.

This patch adds `upload_from_file()` method which takes an arbitrary
readable file object and uploads it to imgur.  It's a more generalized
version of `upload_from_path()`.  It's useful when the image binary
isn't stored to file but in the memory e.g. through `io.BytesIO` object.
@tdbs

tdbs commented Mar 29, 2016

Copy link
Copy Markdown

+1

This would be very useful

@nyov

nyov commented Apr 23, 2016

Copy link
Copy Markdown

Looks like this is duplicate of the merged #53

@dahlia dahlia closed this Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants