buildingmotif.building_motif.building_motif#
Functions
Returns singleton instance of BuildingMOTIF. |
Classes
|
Manages BuildingMOTIF data classes. |
|
BuildingMotifEngine is a class that wraps a SQLAlchemy Engine and Session. |
- class BuildingMOTIF(*args, **kwargs)[source]#
Manages BuildingMOTIF data classes.
- property session#
- setup_logging(log_level)[source]#
Create log file with DEBUG level and stdout handler with specified logging level.
- Parameters:
log_level (int) – logging level of detail
- clean()#
- get_building_motif() BuildingMOTIF [source]#
Returns singleton instance of BuildingMOTIF.
Requires that BuildingMOTIF has been instantiated before, otherwise raises an exception.
- Raises:
SingletonNotInstantiatedException – if buildingmotif hasn’t been instantiated
- Returns:
singleton instance of buildingmotif
- Return type: