def get_uuid(length=<NUM_LIT:32>, version=<NUM_LIT:1>):
if version == <NUM_LIT:1>:<EOL><INDENT>return uuid.uuid1().hex[:length]<EOL><DEDENT>else:<EOL><INDENT>return uuid.uuid4().hex[:length]<EOL><DEDENT>
Returns a unique ID of a given length.
User `version=2` for cross-systems uniqueness.