cisco-en-programmability / dnacentersdk

Cisco DNA Center Python SDK
https://dnacentersdk.readthedocs.io/en/latest/
MIT License
70 stars 33 forks source link

configuration_templates.py def imports_the_projects_provided payload throws TypeError #160

Open yiyi18 opened 1 month ago

yiyi18 commented 1 month ago

Prerequisites

Describe the bug imports_the_projects_provided of version 2.7.1 requires the payload type to be 'dict'or 'None', however in the source code it is defined as following check_type(payload, (list, dict))

image

Even when the payload has type as a dict, I got another exception image

Same code works in 2.6.9 with payload as type list.

Environment (please complete the following information):