Peter Mutwiri commited on
Commit
c61c488
·
1 Parent(s): c528e19

imported loging in datasource

Browse files
Files changed (1) hide show
  1. app/routers/datasources.py +3 -1
app/routers/datasources.py CHANGED
@@ -14,7 +14,9 @@ from datetime import datetime, timedelta
14
  from app.redis_client import redis
15
  # Add this import
16
  from app.qstash_client import get_qstash_client, is_qstash_available
17
-
 
 
18
  router = APIRouter(tags=["datasources"]) # Remove
19
 
20
 
 
14
  from app.redis_client import redis
15
  # Add this import
16
  from app.qstash_client import get_qstash_client, is_qstash_available
17
+ import logging
18
+ logger = logging.getLogger(__name__) # ✅ Add this
19
+
20
  router = APIRouter(tags=["datasources"]) # Remove
21
 
22