def _get_all_file_version_ids(self, secure_data_path, limit=None):
        """
        Convenience function that returns a generator that will paginate over the file version ids
        secure_data_path -- full path to the file in the safety deposit box
        limit -- Default(100), limits how many records to be returned from the api at once.
        """

        offset = 0
        # Prime the versions dictionary so that all the logic can happen in the loop
        versions = {'has_next': True, 'next_offset': 0}
        while (versions['has_next']):
            offset = versions['next_offset']
            versions = self.get_file_versions(secure_data_path, limit, offset)
            for summary in versions['secure_data_version_summaries']:
                yield summary
def _get_all_file_version_ids ( self , secure_data_path , limit = None ) : offset = 0 versions = { 'has_next' : True , 'next_offset' : 0 } while ( versions [ 'has_next' ] ) : offset = versions [ 'next_offset' ] versions = self . get_file_versions ( secure_data_path , limit , offset ) for summary in versions [ 'secure_data_version_summaries' ] : yield summary
Convenience function that returns a generator that will paginate over the file version ids
        secure_data_path -- full path to the file in the safety deposit box
        limit -- Default(100), limits how many records to be returned from the api at once.