def create_uid(self, handle=None): if handle: uid = uuid.uuid5(UUID, handle) else: uid = uuid.uuid4() return uid.hex.upper()