

@staticmethod
def _format_capture(kind, state, details):
    (name_postfix, name_key) = LOOKUP_NAME_POSTFIX[details]
    name = (details[name_key] + name_postfix)
    if ('result' in details):
        name += (' %s(%s)' % (state, details['result']))
    else:
        name += (' %s' % state)
    return name

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/utils.py CaptureListener._format_capture/VarMisuse@25/38 `kind`->`details`