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