golemfactory/golem-core-python

Ensure api_call_wrapper is used everywhere

Opened this issue · 0 comments

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:

  1. Find all missing places and add it and remember in the future
  2. 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.