- 在tasks/__init__.py中导入media_learning任务 - 在ops/__init__.py中注册media_learning任务到Celery应用 - 修复KeyError: 'media_learning_by_document'错误 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
6 lines
284 B
Python
6 lines
284 B
Python
# coding=utf-8
|
|
|
|
# Import tasks for Celery discovery
|
|
# Note: We import the specific tasks, not * to avoid circular imports
|
|
from .advanced_learning import advanced_learning_by_document, batch_advanced_learning
|
|
from .media_learning import media_learning_by_document, media_learning_batch |