refactor: admin api using session factory (#29628)

This commit is contained in:
wangxiaolei
2025-12-15 12:01:41 +08:00
committed by GitHub
parent acef56d7fd
commit 094f417b32
6 changed files with 462 additions and 7 deletions

View File

@@ -83,6 +83,7 @@ def initialize_extensions(app: DifyApp):
ext_redis,
ext_request_logging,
ext_sentry,
ext_session_factory,
ext_set_secretkey,
ext_storage,
ext_timezone,
@@ -114,6 +115,7 @@ def initialize_extensions(app: DifyApp):
ext_commands,
ext_otel,
ext_request_logging,
ext_session_factory,
]
for ext in extensions:
short_name = ext.__name__.split(".")[-1]