code: def _submit_results(self):
          
          if self._cur_res_id and self._cur_values:
              # Setting DefaultResult just because it is obligatory.
              self._addRawResult(self._cur_res_id, self._cur_values)
              self._reset()
docs: Adding current values as a Raw Result and Resetting everything.