Commit 5065941d authored by litaolemo's avatar litaolemo

update

parent c3371e1d
......@@ -45,9 +45,10 @@ def post_data(data_dict:typing.Dict,rpc_type:str) -> typing.Dict:
if key not in data_type_dict[rpc_type]:
data_dict.pop(key)
print(data_dict)
dic = {"questions":[data_dict]}
invoker = create_default_invoker(debug=True).with_config(dump_curl=True)
res = invoker[rpc_type](**data_dict)
res = invoker[rpc_type](**dic)
# print(res.)
print(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