(self, reset=False, batchsize=10)
return with_progress_bar(app_iter, count)
This looks at all apps, including previous versions.
        Note that this won't look at linked or remote apps
This looks at all apps, including previous versions.
        Note that this won't look at linked or remote apps
This looks at all apps including previous versions . Note that this won t look at linked or remote apps
def get_all_apps(self, reset=False, batchsize=10):
        '''
        This looks at all apps, including previous versions.
        Note that this won't look at linked or remote apps
        '''
        db = Application.get_db()
        keys = [[Application.__name__], [f'{Application.__name__}-Deleted']]
        view_name = 'all_docs/by_doc_type'
        raw_iter = resumable_view_iterator(db, __name__, view_name, view_keys=keys, chunk_size=batchsize,
            full_row=True)
        if reset:
            raw_iter.discard_state()

        modified_start_key, keys = get_keys_to_search(keys, raw_iter)

        count = get_remaining_app_count(db, view_name, keys, modified_start_key)

        app_iter = (wrapped_app for wrapped_app in (self.wrap_app(x) for x in raw_iter) if wrapped_app)
        return with_progress_bar(app_iter, count)
def get_all_apps ( self , reset = False , batchsize = 10 ) : db = Application . get_db ( ) keys = [ [ Application . __name__ ] , [ f'{Application.__name__}-Deleted' ] ] view_name = 'all_docs/by_doc_type' raw_iter = resumable_view_iterator ( db , __name__ , view_name , view_keys = keys , chunk_size = batchsize , full_row = True ) if reset : raw_iter . discard_state ( ) modified_start_key , keys = get_keys_to_search ( keys , raw_iter ) count = get_remaining_app_count ( db , view_name , keys , modified_start_key ) app_iter = ( wrapped_app for wrapped_app in ( self . wrap_app ( x ) for x in raw_iter ) if wrapped_app ) return with_progress_bar ( app_iter , count )