from_inventory_instance

classmethod DbInventory.from_inventory_instance(name, project, inventory)[source]

Create a DbInventory instance from a mss_data_server.geometry.inventory.Inventory instance.

Parameters
Returns

The created instance.

Return type

DbInventory