microsoft / microsoft/AzureTRE
Use FastAPI's Annotated Parameters and Dependencies
Open
Nobody has claimed this yet.
story
- Dominant language
- Python
- Stars
- 235
- Forks
- 192
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
Description
As a TRE Developer
I want to use FastAPI's annotated parameters and dependencies instead of using Depends, as described in FastAPI's release notes,
so that we can reduce code duplication.
Acceptance criteria
- All
Dependscalls are replaced withAnnotated
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the repository for every Depends call and review FastAPI's annotated parameters and dependencies release notes. Replace the identified calls with Annotated and confirm that no Depends calls remain while preserving existing dependency behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100