from dataclasses import dataclass
import faker
fake = faker.Faker()


@dataclass
class User:
    username: str = None
    password: str = None
    confirm: str = None
    email: str = None


class UserBuilder:
    users = []

    def create_user(self, username=None, password=None, confirm=None, email
        =None):
        if username is None:
            username = fake.lexify(text='??????')
        if password is None:
            password = fake.password()
        if confirm is None:
            confirm = password
        if email is None:
            email = fake.email()
        user = User(username=username, password=password, confirm=confirm,
            email=email)
        self.users.append(user)
        return user

8d51f0e7674126cb6f9fe6cccd4dece50cd888a9
<mask token>


class UserBuilder:
    users = []

    def create_user(self, username=None, password=None, confirm=None, email
        =None):
        if username is None:
            username = fake.lexify(text='??????')
        if password is None:
            password = fake.password()
        if confirm is None:
            confirm = password
        if email is None:
            email = fake.email()
        user = User(username=username, password=password, confirm=confirm,
            email=email)
        self.users.append(user)
        return user

<mask token>


@dataclass
class User:
    username: str = None
    password: str = None
    confirm: str = None
    email: str = None


class UserBuilder:
    users = []

    def create_user(self, username=None, password=None, confirm=None, email
        =None):
        if username is None:
            username = fake.lexify(text='??????')
        if password is None:
            password = fake.password()
        if confirm is None:
            confirm = password
        if email is None:
            email = fake.email()
        user = User(username=username, password=password, confirm=confirm,
            email=email)
        self.users.append(user)
        return user

<mask token>
fake = faker.Faker()


@dataclass
class User:
    username: str = None
    password: str = None
    confirm: str = None
    email: str = None


class UserBuilder:
    users = []

    def create_user(self, username=None, password=None, confirm=None, email
        =None):
        if username is None:
            username = fake.lexify(text='??????')
        if password is None:
            password = fake.password()
        if confirm is None:
            confirm = password
        if email is None:
            email = fake.email()
        user = User(username=username, password=password, confirm=confirm,
            email=email)
        self.users.append(user)
        return user

from dataclasses import dataclass
import faker
fake = faker.Faker()


@dataclass
class User:
    username: str = None
    password: str = None
    confirm: str = None
    email: str = None


class UserBuilder:
    users = []

    def create_user(self, username=None, password=None, confirm=None, email
        =None):
        if username is None:
            username = fake.lexify(text='??????')
        if password is None:
            password = fake.password()
        if confirm is None:
            confirm = password
        if email is None:
            email = fake.email()
        user = User(username=username, password=password, confirm=confirm,
            email=email)
        self.users.append(user)
        return user
