aws-samples / aws-samples/deploy-python-flask-microservices-to-aws-using-open-source-tools

fastapi and uvicorn are loaded as dependencies but don't seem to be used

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
24
Forks
39
PR merge metrics
No merged PRs in 30d

Description

the [Dockerfile](https://github.com/aws-samples/deploy-python-flask-microservices-to-aws-using-open-source-tools/blob/main/app/Dockerfile) installs fastapi and uvicorn `RUN pip install --user fastapi uvicorn boto3 flask`, but they don't seem to be used in the project.

Is this an error and can they be removed?

Contributor guide

Open the contributing guide

Research direction

Start with app/Dockerfile and inspect the project for imports or runtime references to fastapi and uvicorn. Verify whether removing them still allows the Flask service image to build and run, then update the dependency install line if they are unused.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, fastapi, flask, python
Domain
backend, devops
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.