Commit 04a37775 authored by litaolemo's avatar litaolemo

update

parent a96390e1
......@@ -69,7 +69,7 @@ def post_single_data(data_dict:typing.Dict,rpc_type:str) -> typing.Dict:
if key not in data_type_dict[rpc_type]:
data_dict_copy.pop(key)
print(data_dict_copy)
dic = {dic_type[rpc_type]: data_dict_copy}
dic = {dic_type[rpc_type]: [data_dict_copy]}
invoker = create_default_invoker(debug=True).with_config(dump_curl=True)
res = invoker[rpc_type](**dic)
......
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