Ensure api_call_wrapper is used everywhere
Opened this issue · 0 comments
johny-b commented
Every function with a request to API (i.e. every function that interacts with ya_client
objects) should be wrapped in api_call_wrapper
.
Now it's missing in some functions (e.g. Activity.create
).
Either:
- Find all missing places and add it and remember in the future
- Or just create some python-magic that will force it
Second solution is better (as we don't have to remember anything) and shouldn't be very hard, but might be ugly.