def global_id_field(type_name, id_fetcher=None):
    return GraphQLField(
        GraphQLNonNull(GraphQLID),
        description='The ID of an object',
        resolver=lambda obj, *
        _: to_global_id(type_name, id_fetcher(obj) if id_fetcher else obj.id)
    )
Ensure that `.full_path` is correctly decoded in python 3
dataset/ETHPy150Open graphql-python/graphql-relay-py/graphql_relay/node/node.py/global_id_field--crossover with--dataset/ETHPy150Open tomchristie/flask-api/flask_api/tests/test_request.py/MediaTypeParsingTests.test_encode_request