-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Exception in ASGI application with newest Fastapi #45
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Just noticed that this seems already addressed in PR 43. I've tested the PR and it works! This can be closed.. |
@Sieboldianus I ran into this issue, it still comes up running the current |
I can confirm I have the same issue running the current Edit: This is awesome! Thanks. |
Thanks for the report and discussion here everyone! This should be fixed in the current master. 🎉 🚀 So I guess we could close this issue, right @Sieboldianus ? |
Can any one explain where to add the changes ?? Error Log: Started server process [4532] CODE: import uvicorn app = FastAPI() MODEL = tf.keras.models.load_model("C:/Users/ajith/Desktop/Project/Models/1") @app.post("/predict")
if name=="main": |
I've successfully used the Fullstack fastapi template in the past. With the recent version of fastapi installed through the Dockerfile, I get the following error when I log on to
docker-compose logs -f backend
and open up https://localhost/:There's a small chance that this error relates to some code edits I have introduced, but I suspect this is related to the latest changes to how pydantic validates models in newer Fastapi versions. Anyone else experiencing this? I haven't tested it with a fresh full-stack-fastapi-postgresql, but will check as soon as possible..
Just a note: login still works, perhaps this is just a backend error with no consequences, it is still annoying seeing this error every time the login screen is requested.
The text was updated successfully, but these errors were encountered: