Skip to content

Commit 5f78c45

Browse files
Fixed bandit Medium severities
Signed-off-by: arpannookala-12 <ganesh.arpan.nookala@cloud2labs.com>
1 parent e780e07 commit 5f78c45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • sample_solutions/CodeTranslation/api

sample_solutions/CodeTranslation/api/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,4 @@ async def upload_pdf(file: UploadFile = File(...)):
230230
# Entry point for running with uvicorn
231231
if __name__ == "__main__":
232232
import uvicorn
233-
uvicorn.run(app, host="0.0.0.0", port=5001)
233+
uvicorn.run(app, host="0.0.0.0", port=5001) # nosec B104 - Binding to all interfaces is intentional for Docker container

0 commit comments

Comments
 (0)