mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
perf: main
This commit is contained in:
+2
-4
@@ -12,9 +12,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")
|
||||
@@ -77,7 +75,7 @@ app.add_exception_handler(Exception, exception_handler.global_exception_handler)
|
||||
|
||||
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