mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: annotate
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ from common.core.response_middleware import ResponseMiddleware, exception_handle
|
||||
from alembic.config import Config
|
||||
from alembic import command
|
||||
from fastapi_mcp import FastApiMCP
|
||||
import sqlbot_xpack
|
||||
# import sqlbot_xpack
|
||||
|
||||
def run_migrations():
|
||||
alembic_cfg = Config("alembic.ini")
|
||||
@@ -88,7 +88,7 @@ else:
|
||||
|
||||
mcp.setup_server()
|
||||
|
||||
sqlbot_xpack.init_fastapi_app(app)
|
||||
# sqlbot_xpack.init_fastapi_app(app)
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user