Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
optroodt opened this issue Sep 12, 2024 · 6 comments

Comments

@optroodt
Copy link

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.

fastapi/fastapi@aa21814#diff-aef3dac481b68359f4edd6974fa3a047cfde595254a4567a560cebc9ccb0673fR553

@ddahan
Copy link

ddahan commented Sep 13, 2024

Duplicate of #53

@JulesVautier-io
Copy link

Work around is to pin fastapi package to version 0.100

@Hoomanzoh79
Copy link

I have this issue as well

@ddahan
Copy link

ddahan commented Dec 10, 2024

@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!

@Hoomanzoh79
Copy link

Hoomanzoh79 commented Dec 11, 2024

@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.

@ddahan
Copy link

ddahan commented Dec 11, 2024

@Hoomanzoh79 absolutely!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants