nautobot/nornir-nautobot

Add toggle option for Dictionary Unpacking

Opened this issue · 2 comments

Add flag to unpack the pynautobot object into a dictionary. Should default to True to unpack.

@jvanderaa Is this toggle option on the inventory object?
What is the objective?

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.