Spaces:
Running
Running
axeronis commited on
Commit ·
2e456a3
1
Parent(s): ae0ad58
fix: initialize router and add dependency imports in tenants.py
Browse files
backend/app/api/tenants.py
CHANGED
|
@@ -6,6 +6,11 @@ from typing import Optional, Dict, Any, List
|
|
| 6 |
from uuid import UUID
|
| 7 |
from pydantic import BaseModel
|
| 8 |
from app.models.tenant import SubscriptionPlan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
# ============================================================================
|
|
|
|
| 6 |
from uuid import UUID
|
| 7 |
from pydantic import BaseModel
|
| 8 |
from app.models.tenant import SubscriptionPlan
|
| 9 |
+
from app.models import User
|
| 10 |
+
from app.api.deps import get_current_user
|
| 11 |
+
from app.core.database import get_async_session
|
| 12 |
+
|
| 13 |
+
router = APIRouter()
|
| 14 |
|
| 15 |
|
| 16 |
# ============================================================================
|