code: def __get_session(self):
          
          db_path = self.__get_config().get(ConfigKeys.asset_allocation_database_path)
          self.session = dal.get_session(db_path)
          return self.session
docs: Opens a db session