Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] argilla server: Parameterize uvicorn app for extended apps (ar…
…gilla-io#5452) # Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> This PR adds a minimal change to allow users to extend in an easy (but not easiest) server app. Users can use an extended version of the FastAPI app including their endpoints when launching the docker container by setting the `UVICORN_APP` environment variable. This is related to this [discord thread](https://discord.com/channels/879548962464493619/1278288595312054363) An example of usage [here](https://huggingface.co/spaces/frascuchon/extend-argilla-api-example/tree/main) **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Improvement (change adding some improvement to an existing functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
- Loading branch information