from_sqlalchemy_orm

classmethod DbRecorder.from_sqlalchemy_orm(parent_inventory, orm)[source]

Create a DbRecorder instance from a mss_data_server.geometry.databaseFactory.GeomRecorder table mapper class.

Parameters
  • parent_inventory (mss_data_server.geometry.inventory.Inventory) – The parent inventory to which the instance is related.

  • orm (mss_data_server.geometry.databaseFactory.GeomStation) – The sqlalchemy table mapper class for the network.

Returns

The created instance.

Return type

DbRecorder