code: def uuid(self, version: int = None) -> str:
          
          bits = self.random.getrandbits(128)
          return str(uuid.UUID(int=bits, version=version))
docs: Generate random UUID.
  
          :param version: UUID version.
          :return: UUID