Spaces:
Sleeping
Sleeping
Melika Kheirieh
commited on
Commit
·
1f5cc07
1
Parent(s):
d347376
fix(router): avoid Pipeline redefinition; expose Pipeline via import for test monkeypatch
Browse files- app/routers/nl2sql.py +1 -0
app/routers/nl2sql.py
CHANGED
|
@@ -20,6 +20,7 @@ import json
|
|
| 20 |
import uuid
|
| 21 |
from typing import Union, Optional, Dict, TypedDict, Any, cast
|
| 22 |
|
|
|
|
| 23 |
router = APIRouter(prefix="/nl2sql")
|
| 24 |
|
| 25 |
# -------------------------------
|
|
|
|
| 20 |
import uuid
|
| 21 |
from typing import Union, Optional, Dict, TypedDict, Any, cast
|
| 22 |
|
| 23 |
+
__all__ = ["Pipeline", "FinalResult"]
|
| 24 |
router = APIRouter(prefix="/nl2sql")
|
| 25 |
|
| 26 |
# -------------------------------
|