def entity_key(entity):
    key = entity.key or entity.string
    return ':'.join([entity.resource.path, key])
Generate a key for the given entity that is unique within the
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/core.py/entity_key