def to_global_id(type, id):
    return base64(':'.join([type, str(id)]))
Takes a type name and an ID specific to that type name, and returns a
dataset/ETHPy150Open graphql-python/graphql-relay-py/graphql_relay/node/node.py/to_global_id