Peter Mutwiri commited on
Commit ·
f3f0c98
1
Parent(s): 79099e6
fixed:imported dict ,list and union
Browse files- app/routers/datasources.py +1 -0
- app/routers/schema.py +1 -0
app/routers/datasources.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
from fastapi import APIRouter, Query, Form, File, UploadFile, Depends, HTTPException
|
|
|
|
| 2 |
from fastapi.responses import JSONResponse
|
| 3 |
from pydantic import BaseModel
|
| 4 |
from typing import List, Any, Dict, Union
|
|
|
|
| 1 |
from fastapi import APIRouter, Query, Form, File, UploadFile, Depends, HTTPException
|
| 2 |
+
from typing import Dict, Any, List, Union
|
| 3 |
from fastapi.responses import JSONResponse
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from typing import List, Any, Dict, Union
|
app/routers/schema.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
# app/routers/schema.py
|
| 2 |
from fastapi import APIRouter, Depends
|
| 3 |
from app.deps import get_current_user
|
|
|
|
| 4 |
router = APIRouter(prefix="/api/v1/schema", tags=["schema"])
|
| 5 |
|
| 6 |
@router.get("/discover")
|
|
|
|
| 1 |
# app/routers/schema.py
|
| 2 |
from fastapi import APIRouter, Depends
|
| 3 |
from app.deps import get_current_user
|
| 4 |
+
from typing import Dict
|
| 5 |
router = APIRouter(prefix="/api/v1/schema", tags=["schema"])
|
| 6 |
|
| 7 |
@router.get("/discover")
|