(length: int)
| 27 | |
| 28 | |
| 29 | def get_random_string(length: int) -> str: |
| 30 | import random |
| 31 | import string |
| 32 | letters_digits = string.ascii_letters + string.digits |
| 33 | return ''.join(random.choice(letters_digits) for _ in range(length)) |
| 34 | |
| 35 | |
| 36 | def func_generator(self, method_name, dispatch_fn, collect_fn, execute_fn, blocking): |