mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 20:19:12 +08:00
fix: resolve the error with the db-pool-stat endpoint (#9478)
This commit is contained in:
parent
bd27b4c162
commit
b9bf60ea23
@ -20,6 +20,7 @@ from app_factory import create_app
|
|||||||
|
|
||||||
# DO NOT REMOVE BELOW
|
# DO NOT REMOVE BELOW
|
||||||
from events import event_handlers # noqa: F401
|
from events import event_handlers # noqa: F401
|
||||||
|
from extensions.ext_database import db
|
||||||
|
|
||||||
# TODO: Find a way to avoid importing models here
|
# TODO: Find a way to avoid importing models here
|
||||||
from models import account, dataset, model, source, task, tool, tools, web # noqa: F401
|
from models import account, dataset, model, source, task, tool, tools, web # noqa: F401
|
||||||
|
Loading…
x
Reference in New Issue
Block a user