Skip to content

[V5] [BugFix] Fix for Breaking Changes in FastAPI 0.137+#7537

Open
deeleeramone wants to merge 2 commits into
v5from
bugfix/v5-fastapi-breaking-changes
Open

[V5] [BugFix] Fix for Breaking Changes in FastAPI 0.137+#7537
deeleeramone wants to merge 2 commits into
v5from
bugfix/v5-fastapi-breaking-changes

Conversation

@deeleeramone

Copy link
Copy Markdown
Contributor

This PR addresses the breaking changes in FastAPI v0.137+, where include_router now preserves APIRouter/APIRoute instances instead of cloning them. This affects how openbb-core introspects routes for building static packages and merging router metadata—the routes appearing in app.routes might now be wrappers rather than copies.

The fix ensures backwards compatibility.

@deeleeramone deeleeramone added bug Bugs and bug fixes dependencies Work related to dependencies platform OpenBB Platform V5 PRs and issues for ODP V5 labels Jun 16, 2026
@deeleeramone deeleeramone changed the base branch from develop to v5 June 16, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs and bug fixes dependencies Work related to dependencies platform OpenBB Platform V5 PRs and issues for ODP V5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant