You've already forked DataMate
feat: Update Python version requirements and refine dependency constraints in configuration (#123)
* feat: Implement data synthesis task management with database models and API endpoints * feat: Update Python version requirements and refine dependency constraints in configuration
This commit is contained in:
@@ -1,23 +1,22 @@
|
|||||||
from fastapi import FastAPI, Request, HTTPException, status
|
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
|
||||||
from fastapi.exceptions import RequestValidationError
|
|
||||||
from starlette.exceptions import HTTPException as StarletteHTTPException
|
|
||||||
|
|
||||||
from contextlib import asynccontextmanager
|
from contextlib import asynccontextmanager
|
||||||
from typing import Dict, Any
|
from typing import Dict, Any
|
||||||
|
|
||||||
|
from fastapi import FastAPI, HTTPException
|
||||||
|
from fastapi.exceptions import RequestValidationError
|
||||||
from sqlalchemy import text
|
from sqlalchemy import text
|
||||||
|
from starlette.exceptions import HTTPException as StarletteHTTPException
|
||||||
|
|
||||||
from .core.config import settings
|
from .core.config import settings
|
||||||
from .core.logging import setup_logging, get_logger
|
from .core.logging import setup_logging, get_logger
|
||||||
from .db.session import engine, AsyncSessionLocal
|
from .db.session import AsyncSessionLocal
|
||||||
from .module.shared.schema import StandardResponse
|
|
||||||
from .module import router
|
|
||||||
from .exception import (
|
from .exception import (
|
||||||
starlette_http_exception_handler,
|
starlette_http_exception_handler,
|
||||||
fastapi_http_exception_handler,
|
fastapi_http_exception_handler,
|
||||||
validation_exception_handler,
|
validation_exception_handler,
|
||||||
general_exception_handler
|
general_exception_handler
|
||||||
)
|
)
|
||||||
|
from .module import router
|
||||||
|
from .module.shared.schema import StandardResponse
|
||||||
|
|
||||||
setup_logging()
|
setup_logging()
|
||||||
logger = get_logger(__name__)
|
logger = get_logger(__name__)
|
||||||
|
|||||||
3130
runtime/datamate-python/poetry.lock
generated
3130
runtime/datamate-python/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@ authors = [
|
|||||||
]
|
]
|
||||||
license = {text = "MIT"}
|
license = {text = "MIT"}
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python =">=3.12,<4.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fastapi (>=0.121.1,<0.122.0)",
|
"fastapi (>=0.121.1,<0.122.0)",
|
||||||
"uvicorn[standard] (>=0.38.0,<0.39.0)",
|
"uvicorn[standard] (>=0.38.0,<0.39.0)",
|
||||||
@@ -22,12 +22,11 @@ dependencies = [
|
|||||||
"python-dotenv (>=1.2.1,<2.0.0)",
|
"python-dotenv (>=1.2.1,<2.0.0)",
|
||||||
"python-dateutil (>=2.9.0.post0,<3.0.0)",
|
"python-dateutil (>=2.9.0.post0,<3.0.0)",
|
||||||
"pyyaml (>=6.0.3,<7.0.0)",
|
"pyyaml (>=6.0.3,<7.0.0)",
|
||||||
"greenlet (>=3.2.4,<4.0.0)",
|
"unstructured (>=0.18.21,<0.19.0)",
|
||||||
"loguru (>=0.7.2,<0.7.3)",
|
"markdown (>=3.10,<4.0)",
|
||||||
"langchain (>=1.0.0)",
|
"langchain (>=1.1.0,<2.0.0)",
|
||||||
"langchain-community (>0.4,<0.4.1)",
|
"langchain-community (>=0.4.1,<0.5.0)",
|
||||||
"unstructured[all]",
|
"langchain-openai (>=1.1.0,<2.0.0)",
|
||||||
"markdown"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user