def func_providers(target_key, entity, action, *_):
    for target in action.__self__.target_providers:
        if getattr(target, 'target_keys', ()) in target_key:
            yield target
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/gameops/target_gen.py/func_providers/swapped operands of `in`