from_sqlalchemy_orm¶
-
classmethod
DbRecorderStreamParameter.from_sqlalchemy_orm(parent_recorder_stream, orm)[source]¶ Create a
DbRecorderStreamParameterinstance from amss_data_server.geometry.databaseFactory.GeomRecorderStreamParametertable mapper class.- Parameters
parent_recorder_stream (
mss_data_server.geometry.inventory.RecorderStream) – The parent recorder stream to which the DbRecorderStreamParameter is related.orm (
mss_data_server.geometry.databaseFactory.GeomRecorderStreamParameter) – The sqlalchemy table mapper class for the recorder stream parameter.
- Returns
The created instance.
- Return type