anderson-ufrj
commited on
Commit
·
195e806
1
Parent(s):
8275699
fix: update get_current_user import in visualization route
Browse files- Fixed import path from src.core.auth to src.api.middleware.authentication
- Resolves ModuleNotFoundError in HuggingFace deployment
- Part of ongoing import path corrections for production environment
src/api/routes/visualization.py
CHANGED
|
@@ -18,7 +18,7 @@ from src.agents.oscar_niemeyer import (
|
|
| 18 |
TimeGranularity,
|
| 19 |
)
|
| 20 |
from src.agents.lampiao import LampiaoAgent, RegionType
|
| 21 |
-
from src.
|
| 22 |
from src.core.database import get_db
|
| 23 |
from src.services.cache_service import CacheService
|
| 24 |
from src.core.rate_limit import RateLimiter, rate_limit
|
|
|
|
| 18 |
TimeGranularity,
|
| 19 |
)
|
| 20 |
from src.agents.lampiao import LampiaoAgent, RegionType
|
| 21 |
+
from src.api.middleware.authentication import get_current_user
|
| 22 |
from src.core.database import get_db
|
| 23 |
from src.services.cache_service import CacheService
|
| 24 |
from src.core.rate_limit import RateLimiter, rate_limit
|