from_inventory_instance

classmethod DbRecorderStreamParameter.from_inventory_instance(parent_recorder_stream, instance)[source]

Create a DbRecorderStreamParameter instance from a mss_data_server.geometry.inventory.RecorderStreamParameter instance.

Parameters
  • parent_recorder_stream (mss_data_server.geometry.inventory.RecorderStream) – The parent recorder stream to which the DbRecorderStreamParameter is related.

  • instance (mss_data_server.geometry.inventory.RecorderStreamParameter) – The instance used to create the DbRecorderStreamParameter instance.

Returns

The created recorder stream parameter.

Return type

DbRecorderStreamParameter