def create_new_event_transaction_id():
 new_id = uuid4()
 get_cache('event_transaction')['id'] = new_id
 return new_id

def create_new_event_transaction_id ( ) : new_id = uuid4 ( ) get_cache ( 'event_transaction' ) [ 'id' ] = new_id return new_id
sets the event transaction id to a newly- generated uuid .