from_sqlalchemy_orm¶
-
classmethod
DbRecorderStreamParameter.
from_sqlalchemy_orm
(parent_recorder_stream, orm)[source]¶ Create a
DbRecorderStreamParameter
instance from amss_data_server.geometry.databaseFactory.GeomRecorderStreamParameter
table 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