DbInventory.
from_dict
Create an inventory from a dictionary.
The dictionary has to be in a form returned by the as_dict method.
d (dict) – Dictionary representation of the inventory.
See also
as_dict()