from_sqlalchemy_orm¶
-
classmethod
DbArray.
from_sqlalchemy_orm
(parent_inventory, orm)[source]¶ Create a
DbArray
instance from amss_data_server.geometry.databaseFactory.GeomArray
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.GeomArray
) – The sqlalchemy table mapper class for the array.
- Returns
The created instance.
- Return type