def create_bot(self, owner: UserProfile, bot_email: str, bot_name: str) -> UserProfile:
    user = do_create_user(email=bot_email, password='123', realm=owner.realm, full_name=bot_name, short_name=bot_name, bot_type=UserProfile.DEFAULT_BOT, bot_owner=owner)
    return user
def create_bot(self, owner: UserProfile, bot_email: str, bot_name: str) -> UserProfile:
    user = do_create_user(email=bot_email, password='123', realm=owner.realm, full_name=bot_name, short_name=bot_name, bot_type=UserProfile.DEFAULT_BOT, bot_owner=owner)
    return user