cubicweb-worker #2932040 cleanup the api [resolved]

We are currently using getattr to fetch a method name.
We should use a plain adapter.

prioritynormal
typeenhancement
done in3.0.0
load1.500
load left0.000
closed by#b7c98a4dc02b [entities] API change: let's use adapters for tasks rather than do_operation methods on the entity.
patch[entities] API change: let's use adapters for tasks rather than do_operation methods on the entity. [applied]