src/dirbs/importer/abstract_importer.py
def _validate_binary_checks_raw(self):
        """Method to validate raw staging data prior to import. By default does nothing."""
        self._logger.info('Running binary validation checks on raw staging table data...')
        for result, msg, metric_key in self._binary_validation_checks_raw:
            if not result:
                raise exceptions.ValidationCheckException(msg,
                                                          metric_key=metric_key,
                                                          statsd=self._statsd,
                                                          metrics_failures_root=self._metrics_failures_root)
            else:
                self._logger.info(msg)
        self._logger.info('Finished running binary validation checks on raw staging table data')
Method to validate raw staging data prior to import. By default does nothing.
Method to validate raw staging data prior to import. By default does nothing.
Method to validate raw staging data prior to import . By default does nothing .
def _validate_binary_checks_raw(self):
        self._logger.info('Running binary validation checks on raw staging table data...')
        for result, msg, metric_key in self._binary_validation_checks_raw:
            if not result:
                raise exceptions.ValidationCheckException(msg,
                                                          metric_key=metric_key,
                                                          statsd=self._statsd,
                                                          metrics_failures_root=self._metrics_failures_root)
            else:
                self._logger.info(msg)
        self._logger.info('Finished running binary validation checks on raw staging table data')
def _validate_binary_checks_raw ( self ) : self . _logger . info ( 'Running binary validation checks on raw staging table data...' ) for result , msg , metric_key in self . _binary_validation_checks_raw : if not result : raise exceptions . ValidationCheckException ( msg , metric_key = metric_key , statsd = self . _statsd , metrics_failures_root = self . _metrics_failures_root ) else : self . _logger . info ( msg ) self . _logger . info ( 'Finished running binary validation checks on raw staging table data' )
Method to validate raw staging data prior to import.
Method to validate raw staging data prior to import .
"""Method to validate raw staging data prior to import. By default does nothing."""
self