Skip to content

Handle FastAPI update with SolvedDependencies - #415

Merged
alexmojaki merged 2 commits into
mainfrom
alex/update-fastapi
Sep 5, 2024
Merged

alexmojaki merged 2 commits into
mainfrom
alex/update-fastapi

Conversation

@alexmojaki

Copy link
Copy Markdown
Contributor

FastAPI released an update that broke our monkeypatching because solve_dependencies started returning a dataclass called SolvedDependencies instead of a tuple. This should make the code work with both versions.

@alexmojaki
alexmojaki requested a review from Kludex September 5, 2024 13:25
@alexmojaki
alexmojaki enabled auto-merge (squash) September 5, 2024 13:25
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 5, 2024 •

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: eab494d
Status: ✅  Deploy successful!
Preview URL: https://91d8642a.logfire-docs.pages.dev
Branch Preview URL: https://alex-update-fastapi.logfire-docs.pages.dev

View logs

@codecov

codecov Bot commented Sep 5, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (95a43d4) to head (eab494d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #415   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          130       130           
  Lines         9499      9509   +10     
  Branches      1230      1232    +2     
=========================================
+ Hits          9499      9509   +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alexmojaki
alexmojaki merged commit f3462f0 into main Sep 5, 2024
@alexmojaki
alexmojaki deleted the alex/update-fastapi branch September 5, 2024 13:37
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

Successfully merging this pull request may close these issues.

1 participant