from_inventory_instance

classmethod DbRecorderStream.from_inventory_instance(parent_recorder, instance)[source]

Create a DbRecorderStream instance from a mss_data_server.geometry.inventory.RecorderStream instance.

Parameters
  • parent_recorder (mss_data_server.geometry.inventory.DbRecorder) – The parent recorder to which the instance is related.

  • instance (mss_data_server.geometry.inventory.RecorderStream) – The instance used to create the DbRecorderStream instance.

Returns

The created recorder stream.

Return type

DbRecorderStream