Align engagement task model and repair missing task generation
This commit is contained in:
@@ -5,6 +5,11 @@ from collections import Counter
|
||||
|
||||
from sqlalchemy import func, select
|
||||
|
||||
# Standalone utilities do not pass through FastAPI startup automatically.
|
||||
# Importing startup loads the complete SQLAlchemy model registry (including
|
||||
# ConsultantProfile and all relationship targets) before ORM queries compile.
|
||||
import app.core.startup # noqa: F401
|
||||
|
||||
from app.core.db.common import CommonSessionLocal
|
||||
from app.modules.services.execution import generate_tasks_for_subscription_if_ready
|
||||
from app.modules.services.models import (
|
||||
|
||||
Reference in New Issue
Block a user