@router.post('/update_attributes/{username}')
def update_attributes(request: Request, username: str, email: str = Form(...)):
pass
How can I handle empty strings as input on my form? I get errors if the email
textfield on my form is not filled in.