def value_in(key, dkwargs, kwargs):
    if kwargs in key:
        return kwargs[key]
    elif key in dkwargs:
        return dkwargs[key]
    else:
        msg = "Sender function needs a %s argument" % key
        raise TypeError(msg)
dataset/ETHPy150Open pydanny/webhooks/webhooks/senders/base.py/value_in/swapped operands of `in`