我正在使用ebay-sdk Python 使用文档。
我收到这个错误
Exception: Unable to serialize node of type <class 'set'> ({'genuinefeatherbuys2011'})
这是我的代码(我用'x'替换了一些数据)
from ebaysdk.trading import Connection as Trading
from ebaysdk.exception import ConnectionError
key_id = 'x'
dev_id = 'x'
cert_id = 'x'
mytoken = 'x'
try:
api = Trading(appid=key_id, devid=dev_id, certid=cert_id, token=mytoken, config_file=None)
response = api.execute('GetUser', {'genuinefeatherbuys2011'})
print(response.dict())
print(response.reply)
except ConnectionError as e:
print(e)
print(e.response.dict())