def METHOD_NAME(self) -> ReturnView:
    """Create a new team."""
    form = TeamForm()
    if form.validate_on_submit():
        team = Team(account=self.obj)
        db.session.add(team)
        form.populate_obj(team)
        db.session.commit()
        team_data_changed.send(team, changes=['new'], user=current_auth.user)
        return render_redirect(self.obj.url_for('teams'))
    return render_form(
        form=form, title=_("Create new team"), formid='new_team', submit=_("Create")
    )