code: def store(self, result, commit=None, **kwargs):
          
          git_info = self.record_git_info(commit)
          try:
              row = self.session.query(Result). \
                  filter_by(hexsha=git_info.hexsha). \
                  one()
              LOGGER.info("Updating result '%s'.", git_info.hexsha)
              row.memote_result = result
          except NoResultFound:
              row = Result(memote_result=result)
              LOGGER.info("Storing result '%s'.", git_info.hexsha)
          row.hexsha = git_info.hexsha
          row.author = git_info.author
          row.email = git_info.email
          row.authored_on = git_info.authored_on
          self.session.add(row)
          self.session.commit()
docs: Store a result in a JSON file attaching git meta information.
  
          Parameters
          ----------
          result : memote.MemoteResult
              The dictionary structure of results.
          commit : str, optional
              Unique hexsha of the desired commit.
          kwargs :
              Passed to parent function.