#NEWLINE# def get_id( uuid ) : #NEWLINE# #INDENT# "\n    >>> get_id('{8C65E04C-0383-4AE2-893F-4EC7C58F70DC}')\n    1\n    >>> get_id('{8C65E04C-0383-4AE2-893F-4EC7C58F70DC}')\n    1\n    " #NEWLINE# id = redis . get ( '{}:{}' . format ( KEY_PREFIX , uuid ) ) #NEWLINE# if ( id is None ) : #NEWLINE# #INDENT# id = create_id ( uuid ) #NEWLINE# #UNINDENT# return int ( id )