-
Notifications
You must be signed in to change notification settings - Fork 51
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
Docs are inconsistant: likes().data or likes.data ? #111
Comments
@andybak, both are right.
Everytime we "call" an object, we transform it from This example was used on purpose so people would be forced into understanding the difference in this situations. |
Hmmmm. I don't recall seeing any other Python library where you can use the callable and non-callable form of an attribute in subtly different ways and it feels a trifle un-pythonic and hard to remember. Why was this pattern chosen rather than - for example - always transforming to TapiocaClientExecutor ? |
Agreed. I had to do some kind of DSL here to allow us to traverse the response using
|
I'm using a wrapper where the former works and the latter doesn't. Not sure if it's a bug in the wrapper but your docs use both forms:
likes().data: http://tapioca-wrapper.readthedocs.io/en/stable/quickstart.html#fetching-data
likes.data: http://tapioca-wrapper.readthedocs.io/en/stable/quickstart.html#iterating-over-data
The text was updated successfully, but these errors were encountered: