-
Notifications
You must be signed in to change notification settings - Fork 33
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
walk_set error #80
Comments
Good find. We should be using |
It does clear that error, but now gives me an issue with using parsed-json as the format. While I would prefer JSON, it's not the end of the world for me to use etree. File "/usr/local/venv/myvenv/lib/python3.4/site-packages/flickrapi/core.py", line 96, in decorated
raise ValueError(msg % (method.__name__, self.default_format))
ValueError: Function walk_set requires that you use ElementTree ("etree") as the communication format, while the current format is set to "parsed-json". |
This is documented ("Uses the ElementTree format, incompatible with other formats."), but I understand your fondness of JSON. As an alternative to switching your entire application to ElementTree, you could also extend If you do this, please send it in as a pull request so that I can merge it into the FlickrAPI library. |
Closes the 'bug' part of issue #80.
Closing this ticket as the actual bug is fixed. Feel free to send in a pull request for JSON support in the walker functions. |
I'm on Python 3.4.5 and the following code:
Gives this error:
The text was updated successfully, but these errors were encountered: