mongkok / fastapi-debug-toolbar

A debug toolbar for FastAPI.
https://fastapi-debug-toolbar.domake.io
BSD 3-Clause "New" or "Revised" License
140 stars 14 forks source link

Cannot upgrade to Fastapi 0.95.0 #30

Closed integrajerome closed 1 year ago

integrajerome commented 1 year ago

Hello, An error occurs after upgrading to Fastapi 0.95.0. Can someone fix this bug or share a workaround please?

image

Best regards.

fsecada01 commented 1 year ago

I have a pull request pending to address this. Starlette changed the name for the argument: https://github.com/mongkok/fastapi-debug-toolbar/pull/31

mongkok commented 1 year ago

Hi @integrajerome @fsecada01, I'm sorry for the delay in my response. The issue is fixed, please test the new release.

integrajerome commented 1 year ago

@mongkok after upgrade i cannot there is no error but i cannot download statics (404). maybe it is because of my environment (docker).

integrajerome commented 1 year ago

@mongkok after upgrade i cannot there is no error but i cannot download statics (404). maybe it is because of my environment (docker).

Actually it is because i mounted a folder on / :s