Commit 5e952134 authored by litaolemo's avatar litaolemo

update

parent a48834d0
...@@ -46,10 +46,13 @@ def post_muilty_data(data_list:typing.List,rpc_type:str) -> typing.Dict: ...@@ -46,10 +46,13 @@ def post_muilty_data(data_list:typing.List,rpc_type:str) -> typing.Dict:
headers = { headers = {
'X-GAIA-HELIOS-VERSION': '0.7.5', 'X-GAIA-HELIOS-VERSION': '0.7.5',
} }
for data_dict in data_list: data_list_new = []
for key in data_dict: # for data_dict in data_list:
if key not in data_type_dict[rpc_type]: # data_dict_copy = copy.deepcopy(data_dict)
data_dict.pop(key) # for key in data_dict:
# if key not in data_type_dict[rpc_type]:
# data_dict_copy.pop(key)
# data_list_new.append(data_dict_copy)
dic = {dic_type[rpc_type]: data_list} dic = {dic_type[rpc_type]: data_list}
invoker = create_default_invoker(debug=True).with_config(dump_curl=True) invoker = create_default_invoker(debug=True).with_config(dump_curl=True)
......
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