from_sqlalchemy_orm¶
-
classmethod
DbSensorComponentParameter.
from_sqlalchemy_orm
(parent_component, orm)[source]¶ Create a
DbSensorComponentParameter
instance from amss_data_server.geometry.databaseFactory.GeomSensorComponentParameter
table mapper class.- Parameters
parent_compoent (
mss_data_server.geometry.db_inventory.DbSensorComponent
) – The parent sensor component to which the instance is related.orm (
mss_data_server.geometry.databaseFactory.GeomSensorComponentParameter
) – The sqlalchemy table mapper class for the sensor component parameter.
- Returns
The created instance.
- Return type