code: def _random_id(self, size=16, chars=string.ascii_uppercase + string.digits):
          
          return ''.join(random.choice(chars) for _ in range(size))
docs: Generates a random id based on `size` and `chars` variable.
  
          By default it will generate a 16 character long string based on
          ascii uppercase letters and digits.