

def resolver_has_tag(f, tag):
    '\n        Checks to see if a function has a specific tag.\n    '
    if (not hasattr(f, '_resolver_tags')):
        return False
    return (tag in f._resolver_tags)

dataset/ETHPy150Open graphql-python/graphql-core/graphql/core/execution/middlewares/utils.py resolver_has_tag/original