cisco-en-programmability / dnacentersdk

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

preview_template function overwrites params #23

Closed jeremypng closed 3 years ago

jeremypng commented 3 years ago

From api/v2_1_2/configuration_templates.py

params = { } params.update(request_parameters) params = dict_from_items_with_values(params)

I'm just going to submit a check for None before this entry.

wastorga commented 3 years ago

@jeremypng

Sorry for the delay.

The latest dnacentersdk version fixes that issue (really since version 2.2.2). The internal variable params was replaced with _params.