You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to add comments for methods and class and have the ability to get the documentation from __doc__ method attribut. Something like this:
classUserResource(Resource):
""" My doc... """actions= {
"search": {"method": "GET", "url": "users/search","doc":"Search users"},
"retrieve": {"method": "GET", "url": "users/{}", "doc": "Search a user X. X should be a username"},
}
instagram_api.add_resource(resource_name="users", resource_class=UserResource)
help(instagram_api.users)
help(instagram_api.users.search)
help(instagram_api.users.retrieve)
The text was updated successfully, but these errors were encountered:
It would be great to be able to add comments for methods and class and have the ability to get the documentation from
__doc__
method attribut. Something like this:The text was updated successfully, but these errors were encountered: