Commit 4986ac0b authored by litaolemo's avatar litaolemo

update

parent 5110f9ed
......@@ -46,11 +46,11 @@ def post_data(data_dict:typing.Dict,rpc_type:str) -> typing.Dict:
print(data_dict)
invoker = create_default_invoker(debug=True).with_config(dump_curl=True)
res = invoker[rpc_type](**data_dict)
print(res)
# print(res.success)
print(res.unwrap())
res = invoker[rpc_type](**data_dict).unwrap()
# print(res.)
print(res)
# print(res)
return res
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment