Skip to content

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

@skrawcz

Description

@skrawcz

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions