Well, I'm sorry. I found out the problem. My app was working with uvicorn main:app --reload. I don't know what was the problem, but after starting the app again it worked, even thought, uvicorn watches for files changes.
uvicorn main:app --reload.