labpack/databases/google/datastore.py
def remove(self):

        ''' a method to remove all records in table '''

        query = self.client.query(kind=self.kind)
        query.keys_only()

        def iter_func(entity):
            self.client.delete(entity.key)
            self.printer('Record %s deleted.' % entity.key._flat_path[-1])

        def end_func(count):
            self.printer('Table %s empty.' % self.table_name)
            return count

        return self._paginate(query, iter_func, end_func)
 a method to remove all records in table 
a method to remove all records in table
a method to remove all records in table
def remove(self):
        query = self.client.query(kind=self.kind)
        query.keys_only()
        def iter_func(entity):
            self.client.delete(entity.key)
            self.printer('Record %s deleted.' % entity.key._flat_path[-1])
        def end_func(count):
            self.printer('Table %s empty.' % self.table_name)
            return count
        return self._paginate(query, iter_func, end_func)
def remove ( self ) : query = self . client . query ( kind = self . kind ) query . keys_only ( ) def iter_func ( entity ) : self . client . delete ( entity . key ) self . printer ( 'Record %s deleted.' % entity . key . _flat_path [ - 1 ] ) def end_func ( count ) : self . printer ( 'Table %s empty.' % self . table_name ) return count return self . _paginate ( query , iter_func , end_func )
a method to remove all records in table
a method to remove all records in table
''' a method to remove all records in table '''
self