from_sqlalchemy_orm¶
-
classmethod
DbRecorderStream.
from_sqlalchemy_orm
(parent_recorder, orm)[source]¶ Create a
DbRecorderStream
instance from amss_data_server.geometry.databaseFactory.GeomRecorderStream
table mapper class.- Parameters
parent_recorder (
mss_data_server.geometry.inventory.DbRecorder
) – The parent recorder to which the instance is related.orm (
mss_data_server.geometry.databaseFactory.GeomRecorderStream
) – The sqlalchemy table mapper class for the network.
- Returns
The created instance.
- Return type