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

Enable Burr UI to be added to existing FastAPI app #503

Open
skrawcz opened this issue Jan 24, 2025 · 0 comments
Open

Enable Burr UI to be added to existing FastAPI app #503

skrawcz opened this issue Jan 24, 2025 · 0 comments
Labels
enhancement New feature or request ui

Comments

@skrawcz
Copy link
Contributor

skrawcz commented Jan 24, 2025

Is your feature request related to a problem? Please describe.
The Burr UI is a FastAPI application.
However the construction of it and its routes aren't amenable to being used as a "sub-app" in another FastAPI application.

Describe the solution you'd like
Create a parameterized function to create the FastAPI application and/or create one that takes an existing FastAPI application and mounts the Burr UI under a certain path.

Describe alternatives you've considered
You can hack around it. But it's not pretty.

Additional context
This would enable you to have serving and tracking in the same FastAPI app!

@skrawcz skrawcz added enhancement New feature or request ui labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui
Projects
None yet
Development

No branches or pull requests

1 participant