

def __init__(self, name, wait_for, wait_states, **kwargs):
    super(WaitForOneFromTask, self).__init__(name, **kwargs)
    if isinstance(wait_for, six.string_types):
        self.wait_for = [wait_for]
    else:
        self.wait_for = kwargs
    if isinstance(wait_states, six.string_types):
        self.wait_states = [wait_states]
    else:
        self.wait_states = wait_states
    self.event = threading.Event()

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/utils.py WaitForOneFromTask.__init__/VarMisuse@63/85 `wait_for`->`kwargs`