def next(self):
        uid = uuid.uuid4()
        if self.format == 'uuid':
            return uid
        else:
            return getattr(uid, self.format)
dataset/ETHPy150Open sbaechler/django-scaffolding/scaffolding/tubes.py/Uuid.next/original