cisco-en-programmability / dnacentersdk

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

fix preview_template params arg passing #22

Closed oboehmer closed 2 years ago

oboehmer commented 3 years ago

the configuration_templates.update_template() call is not passing the right params value to DNAC, so the templates get rendered with an incorrect params list so values are not expanded.

This is due to a naming clash between the params function parameter and the params dict variable used throughout all the SDK methods.. I feel we should rename params to _params in all methods, but this is a ton of work, so I just avoided this clash in the few methods exposing params

wastorga commented 2 years ago

I am closing this pull request. The b25e409 commit resolved the issue a while ago.