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

SQLAlchemyPanel: TypeError: solve_dependencies() missing 1 required keyword-only argument: 'embed_body_fields' #54

Open optroodt opened 2 months ago

optroodt commented 2 months ago

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

ddahan commented 2 months ago

Duplicate of https://github.com/mongkok/fastapi-debug-toolbar/issues/53