code: def generate_uuid4(self) -> list:
          
          # uuid4: 8-4-4-4-12: xxxxxxxx-xxxx-4xxx-{8,9,a,b}xxx-xxxxxxxxxxxx
          # instead of requesting small amounts of bytes, it's better to do it
          # for the full amount of them.
          hexstr = randhex(30)
  
          uuid4 = [
              hexstr[:8],
              hexstr[8:12],
              '4' + hexstr[12:15],
              '{:x}{}'.format(randbetween(8, 11), hexstr[15:18]),
              hexstr[18:]
          ]
          self.last_result = uuid4
          return uuid4
docs: Generate a list of parts of a UUID version 4 string.
  
          Usually, these parts are concatenated together using dashes.