Add support for 'method_decorators' on the RPC client as well
This make it possible to define a class attribute 'method_decorators' so that the generated RPC client object will have all exposed methods decorated with all the decorators in this list.
This was only supported on the server side (RPCServerApp).
Note: this MR is missing tests
Merge request reports
Activity
Jenkins job DCORE/gitlab-builds #182 failed .
See Console Output and Coverage Report for more details.ok it seems this needs !380 (merged)
added 5 commits
- 6b316d83 - Remove the (empty) swh/core/api/tests/conftest.y file
- b718fa1b - Remove bw-compat code for pytest<3.9
- e561d3cd - Replace usage of pkg_resources by importlib
- 0d29c078 - Fix tests when executed directly with pytest in a editable-mode installed package situation
- 902043d7 - Add support for 'method_decorators' on the RPC client as well
Toggle commit listrebased on top of !380 (merged) and (partially) add tests for the decorated case
Jenkins job DCORE/gitlab-builds #185 succeeded .
See Console Output and Coverage Report for more details.added 1 commit
- 6b8f0279 - Add support for 'method_decorators' on the RPC client as well
Jenkins job DCORE/gitlab-builds #186 succeeded .
See Console Output and Coverage Report for more details.mentioned in merge request swh-objstorage!191 (merged)