From 01e1bdee6cd0e3afaeb1306520bdae07df336f5e Mon Sep 17 00:00:00 2001 From: Angelina Uno-Antonison Date: Wed, 12 Jun 2024 12:43:47 -0500 Subject: [PATCH] Disable unnecessary warning urllib3 (#176) * Disabling the urllib https warnings; we understand the situation and am comfortable with the current setup * made sure to adjust the import order as the linter requests --- backend/src/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/main.py b/backend/src/main.py index 04952ae4..a1314254 100644 --- a/backend/src/main.py +++ b/backend/src/main.py @@ -3,8 +3,8 @@ """ import logging import logging.config - from os import path +import urllib3 from fastapi.middleware.cors import CORSMiddleware from fastapi import FastAPI @@ -12,6 +12,8 @@ from .config import get_settings from .routers import analysis_router, annotation_router, auth_router +urllib3.disable_warnings() + DESCRIPTION = """ rosalution REST API assists researchers study 🧬 variation in patients 🧑🏾‍🤝‍🧑🏼 by helping select candidate animal models 🐀🐁🐠🪱 to replicate the variation