Commit e2b46635 authored by litaolemo's avatar litaolemo

update

parent 296357a1
......@@ -60,7 +60,7 @@ def post_single_data(data_dict:typing.Dict,rpc_type:str) -> typing.Dict:
'X-GAIA-HELIOS-VERSION': '0.7.5',
}
data_dict_copy = copy.deepcopy(data_dict)
for key in data_dict_copy.keys():
for key in data_dict:
if key not in data_type_dict[rpc_type]:
data_dict_copy.pop(key)
print(data_dict_copy)
......
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