from_inventory_instance¶
-
classmethod
DbRecorder.
from_inventory_instance
(parent_inventory, instance)[source]¶ Create a
DbRecorder
instance from amss_data_server.geometry.inventory.Recorder
instance.- Parameters
parent_inventory (
mss_data_server.geometry.inventory.Inventory
) – The parent inventory to which the DbStation is related.instance (
mss_data_server.geometry.inventory.Recorder
) – The instance used to create theDbRecorder
instance.
- Returns
The created recorder.
- Return type