fastapi-debug-toolbar
fastapi-debug-toolbar copied to clipboard
SQLAlchemyPanel: TypeError: solve_dependencies() missing 1 required keyword-only argument: 'embed_body_fields'
The SQLAlchemyPanel no longer works from FastAPI 0.112.4.
TypeError: solve_dependencies() missing 1 required keyword-only argument: 'embed_body_fields'
FastAPI 0.112.4 introduced the embed_body_fields parameter to fastapi.dependencies.utils.solve_dependencies function.
https://github.com/fastapi/fastapi/commit/aa21814a89853c17c139054a5c51f0bb1ea68a0a#diff-aef3dac481b68359f4edd6974fa3a047cfde595254a4567a560cebc9ccb0673fR553
Duplicate of https://github.com/mongkok/fastapi-debug-toolbar/issues/53
Work around is to pin fastapi package to version 0.100
I have this issue as well
@JulesVautier-io @Hoomanzoh79 @optroodt
In the end I decided to use a serious tool: Pydantic Logfire. It can work both in production or in local (while it still requires internet as it's a cloud tool)/
It's free until 10 millions of events and the UI is gorgeous. It replaces many tools at once.
I'm kind of tired of situations like these where I install a tool which does not work a few weeks later because the author does not want to maintain it. Not blaming the author here, I'm blaming myself to trust small ans single-author packages.
Hope that helps guys!
@JulesVautier-io @Hoomanzoh79 @optroodt
In the end I decided to use a serious tool: Pydantic Logfire. It can work both in production or in local (while it still requires internet as it's a cloud tool)/
It's free until 10 millions of events and the UI is gorgeous. It replaces many tools at once.
I'm kind of tired of situations like these where I install a tool which does not work a few weeks later because the author does not want to maintain it. Not blaming the author here, I'm blaming myself to trust small ans single-author packages.
Hope that helps guys!
I'll definitely check it out, Thank you for your suggestion. does it help tracking down the queries as well? similiar to django debug toolbar which lets you know about the quality of your queries.
@Hoomanzoh79 absolutely!