Spaces:
Paused
Paused
dushyantsingh0 commited on
Commit ·
5a9484e
1
Parent(s): e858449
backend stabilization
Browse files- api/v1/system.py +3 -3
api/v1/system.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
from typing import Any, List, Dict
|
|
|
|
| 2 |
from fastapi import APIRouter, Depends
|
| 3 |
from sqlalchemy.ext.asyncio import AsyncSession
|
| 4 |
from sqlalchemy import select
|
|
@@ -58,8 +59,7 @@ async def get_system_status(
|
|
| 58 |
|
| 59 |
return results
|
| 60 |
|
| 61 |
-
|
| 62 |
-
from typing import Any, Dict, Optional
|
| 63 |
|
| 64 |
@router.get("/workflows/", response_model=List[AIWorkflowRead], dependencies=[Depends(get_current_staff_user)])
|
| 65 |
async def get_recent_workflows(
|
|
|
|
| 1 |
+
from typing import Any, List, Dict, Optional
|
| 2 |
+
from uuid import UUID
|
| 3 |
from fastapi import APIRouter, Depends
|
| 4 |
from sqlalchemy.ext.asyncio import AsyncSession
|
| 5 |
from sqlalchemy import select
|
|
|
|
| 59 |
|
| 60 |
return results
|
| 61 |
|
| 62 |
+
|
|
|
|
| 63 |
|
| 64 |
@router.get("/workflows/", response_model=List[AIWorkflowRead], dependencies=[Depends(get_current_staff_user)])
|
| 65 |
async def get_recent_workflows(
|