make send-request and compute accept plain json
Compare changes
Files
2+ 11
− 5
@@ -479,12 +479,15 @@ def get_parser(
@@ -495,8 +498,11 @@ def get_parser(
this MR make the send-request
and compute
commands accept plain yaml or json data, i.e. you can now do something like
python -m my_backend_module compute '{func_name: "version_info"}'
and
python -m my_backend_module send-request '{func_name: "version_info"}'
as well as
python -m my_backend_module send-request some_request_in_a_file.yaml
python -m my_backend_module compute some_request_in_a_file.yaml