def wait_for_task_property(service, task, prop, timeout_sec=120):
    """Waits for a task to have the specified property"""
    return time_wait(lambda: task_property_present_predicate(service, task, prop), timeout_seconds=timeout_sec)
def wait_for_task_property ( service , task , prop , timeout_sec = 120 ) : return time_wait ( lambda : task_property_present_predicate ( service , task , prop ) , timeout_seconds = timeout_sec )
Waits for a task to have the specified property