@classmethod
    def _generate_random_part(cls, length):
        return "".join(random.choice(cls.RESOURCE_NAME_ALLOWED_CHARACTERS)
                       for i in range(length))
Generate a random string.
dataset/ETHPy150Open openstack/rally/rally/common/utils.py/RandomNameGeneratorMixin._generate_random_part