Closed sybrenstuvel closed 8 years ago
Original comment by Jim Easterbrook (Bitbucket: jim_easterbrook, GitHub: Unknown):
See issue #21. In version 2 (since commit 03bc6de) you can upload from a file-like object. This can be used to do callbacks like this: https://github.com/jim-easterbrook/Photini/blob/master/src/photini/flickr.py#L35
Original comment by Sybren Stüvel (Bitbucket: sybren, GitHub: sybren):
The progress reporting has always been dodgy, as it hacks deeply into the HTTP library. It's also not going to be supported in the upcoming FlickrAPI version 2.0. I may fix this for 1.4.x at some point, but it'll be low on the TODO list. If you have a patch, it'll be most welcome.
Since version 1.4.4 is pretty obsolete, this won't be fixed any more.
Originally reported by: coderiff (Bitbucket: coderiff, GitHub: coderiff)
I have installed FlickrAPI 1.4.4. using PIP and have tried the following example in the document.
While the file upload has worked, the callback function was not called.
Tracing throught the call I see the following function call:
But __wrap_in_parser() does not seem to take the callback parameter. It is defined as follows: