(self)
return self.progress.processed, self.progress.skipped
:returns: A tuple `(<num processed>, <num skipped>)`
:returns: A tuple `(<num processed>, <num skipped>)`
: returns : A tuple ( <num processed > <num skipped > )
def run(self):
        """
        :returns: A tuple `(<num processed>, <num skipped>)`
        """
        self.progress.total = self.document_provider.get_total_document_count()

        with self.doc_processor, self.progress:
            for doc in self.document_iterator:
                self._process_doc(doc)

        self.doc_processor.processing_complete(self.progress.skipped)

        return self.progress.processed, self.progress.skipped
def run ( self ) : self . progress . total = self . document_provider . get_total_document_count ( ) with self . doc_processor , self . progress : for doc in self . document_iterator : self . _process_doc ( doc ) self . doc_processor . processing_complete ( self . progress . skipped ) return self . progress . processed , self . progress . skipped