def tag_resolver(f, tag):
    if not hasattr(f, '_resolver_tags'):
        f._resolver_tags = set()

    f._resolver_tags.add(tag)
    return f
Tags a resolver function with a specific tag that can be read by a Middleware to denote specific functionality.
dataset/ETHPy150Open graphql-python/graphql-core/graphql/core/execution/middlewares/utils.py/tag_resolver