将产品导出到Channel引擎时出现auth_setting错误

时间:2017-09-15 13:56:32

标签: python

使用api-client-python将产品导出到频道引擎时出现以下错误:

  

追溯:

File "api-client-python/swagger_client/api_client.py", line 512, in update_params_for_auth
querys.append((auth_setting['key'], auth_setting['value']))
AttributeError: 'dict' object has no attribute 'append'

我使用了以下请求来创建新产品:

products = [swagger_client.MerchantProductRequest()] api_response =
    api_instance.product_create(products)

0 个答案:

没有答案