Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Resolve logger warnings (#1324)

Emmanuel Ferdmand240f6a79998
diff --git a/backend/connector_auth_v2/views.py b/backend/connector_auth_v2/views.py
index 96d5a8103..4d515563b 100644
--- a/backend/connector_auth_v2/views.py
+++ b/backend/connector_auth_v2/views.py
@@ -30,7 +30,7 @@ class ConnectorAuthViewSet(viewsets.ViewSet):
f"Keys not configured for {backend}, add env vars "
f"`GOOGLE_OAUTH2_KEY` and `GOOGLE_OAUTH2_SECRET`."
)
- logger.warn(msg)
+ logger.warning(msg)
raise KeyNotConfigured(
f"{msg}\nRefer to: "
"https://developers.google.com/identity/protocols/oauth2#1.-"