@classmethod
    def with_random_username(cls):
        with cls.db.get_cursor() as cursor:
            username = safely_reserve_a_username(cursor)
        return cls.from_username(username)
Return a new participant with a random username.
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/models/participant.py/Participant.with_random_username