code: def load(self, commit=None):
          
          git_info = self.record_git_info(commit)
          LOGGER.info("Loading result from '%s'.", git_info.hexsha)
          result = MemoteResult(
              self.session.query(Result.memote_result).
              filter_by(hexsha=git_info.hexsha).
              one().memote_result)
          # Add git info so the object is equivalent to the one returned by the
          #  RepoResultManager.
          self.add_git(result.meta, git_info)
          return result
docs: Load a result from the database.