я хочу получить ответ от благотворительного сервера
ответ: [{'a':'b','c': ['xxx','xxx']},{'a':'b','c': ['xxx','xxx']}]
я пытаюсь написать сберегательный IDL, но безуспешно
struct QcAccount {
1:string username,
2:string wangwang,
3:string true_name,
4:list<string> shop_list,
}
service RedisOperation {
list<QcAccount> get_qc_account_shop(1:i64 company_id),
bool get_redis_manager(1:i64 company_id),
}
and i got this error-msg:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/aiothrift/protocol.py", line 140, in write_val
for fid in iter(val.thrift_spec):
AttributeError: 'dict' object has no attribute 'thrift_spec'
Я не знаю, как сделать правильные данные с thrift-сервера