Add toggle option for Dictionary Unpacking
Opened this issue · 2 comments
jvanderaa commented
Add flag to unpack the pynautobot object into a dictionary. Should default to True to unpack.
pke11y commented
@jvanderaa Is this toggle option on the inventory object?
What is the objective?
jvanderaa commented
The objective is that there is currently a pynautobot_dictionary
key in the inventory data
key by default. This is a "nice to have" at this time that many will probably not want to have in the inventory. The thought is to make a toggle of pynautobot_dictonary_unpack
or some other name (since that is long), that would not add the dictionary version to the data returned.