

def req_op(node, signature, shadow_params, actor_id=None, component=None):
    " Based on signature find actors' requires in global storage,\n        filter actors based on params that are supplied\n        and find any nodes with those capabilities\n    "
    signature_iter = node.storage.get_index_iter(['actor', 'signature', signature])
    signature_iter.set_name('shadow_match:sign')
    description_iter = dynops.Map(get_description, signature_iter, eager=True, counter=0, node=node)
    description_iter.set_name('shadow_match:desc')
    extract_caps_iter = dynops.Map(extract_capabilities, description_iter, eager=True, shadow_params=shadow_params, capabilities=set([]), descriptions=[])
    extract_caps_iter.set_name('shadow_match:extract')
    get_caps_iter = dynops.Map(get_capability, extract_caps_iter, eager=True, counter=0, node=node)
    signature.set_name('shadow_match:caps')
    collect_caps_iter = dynops.Chain(get_caps_iter)
    collect_caps_iter.set_name('shadow_match:collect')
    placement_iter = dynops.Map(placement, collect_caps_iter, capabilities={
        
    }, descriptions=extract_caps_iter.get_kwargs()['descriptions'])
    placement_iter.set_name('shadow_match:place')
    return placement_iter

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/plugins/requirements/shadow_actor_reqs_match.py req_op/VarMisuse@140/277 `get_caps_iter`->`signature`