as_dict

Inventory.as_dict(style=None)[source]

Convert the inventory to a dictionary.

style: str

The style to use for the conversion. Currently not supported.