def open_session(self):
from .dal import get_session<EOL>cfg = Config()<EOL>cfg.logger = self.logger<EOL>db_path = cfg.get(ConfigKeys.asset_allocation_database_path)<EOL>self.session = get_session(db_path)<EOL>return self.session<EOL>
Opens a db session and returns it