def wait_for_build(obj, att=None, desired=None, callback=None, interval=None, attempts=None, verbose=None, verbose_atts=None):
 att = (att or 'status')
 desired = (desired or ['ACTIVE', 'ERROR', 'available', 'COMPLETED'])
 interval = (interval or 20)
 attempts = (attempts or 0)
 verbose_atts = (verbose_atts or 'progress')
 return wait_until(obj, att, desired, callback=callback, interval=interval, attempts=attempts, verbose=verbose, verbose_atts=verbose_atts)

def wait_for_build ( obj , att = None , desired = None , callback = None , interval = None , attempts = None , verbose = None , verbose_atts = None ) : att = ( att or 'status' ) desired = ( desired or [ 'ACTIVE' , 'ERROR' , 'available' , 'COMPLETED' ] ) interval = ( interval or 20 ) attempts = ( attempts or 0 ) verbose_atts = ( verbose_atts or 'progress' ) return wait_until ( obj , att , desired , callback = callback , interval = interval , attempts = attempts , verbose = verbose , verbose_atts = verbose_atts )
designed to handle the most common use case for wait_until: an object whose status attribute will end up in either active or error state .