Unverified Commit 1bd1cd69 authored by takatost's avatar takatost Committed by GitHub

fix: event handlers not registered globally (#2479)

parent 81c5a21b
...@@ -38,10 +38,11 @@ from extensions import ( ...@@ -38,10 +38,11 @@ from extensions import (
from extensions.ext_database import db from extensions.ext_database import db
from extensions.ext_login import login_manager from extensions.ext_login import login_manager
from libs.passport import PassportService from libs.passport import PassportService
# DO NOT REMOVE BELOW
from services.account_service import AccountService from services.account_service import AccountService
# DO NOT REMOVE BELOW
from events import event_handlers
from models import account, dataset, model, source, task, tool, tools, web
# DO NOT REMOVE ABOVE # DO NOT REMOVE ABOVE
......
...@@ -3,6 +3,7 @@ requires-python = ">=3.10" ...@@ -3,6 +3,7 @@ requires-python = ">=3.10"
[tool.ruff] [tool.ruff]
exclude = [ exclude = [
"app.py",
"__init__.py", "__init__.py",
"tests/", "tests/",
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment