def get_id(uuid):
    id = redis.get('{}:{}'.format(KEY_PREFIX, uuid))
    if id is None:
        id = create_id(uuid)
    return int(id)
>>> get_id('{8C65E04C-0383-4AE2-893F-4EC7C58F70DC}')
dataset/ETHPy150Open Crystalnix/omaha-server/omaha_server/omaha/utils.py/get_id