dify/api/tasks
FFXN 5d732edbb0 Merge remote main and resolve conflicts for summaryindex feature
- Resolved conflicts in 9 task files by adopting session_factory pattern from main
- Preserved all summaryindex functionality including enable/disable logic
- Updated all task files to use session_factory.create_session() instead of db.session
- Merged new features from main (FileService, DocumentBatchDownloadZipPayload, etc.)
2026-01-21 16:03:54 +08:00
..
annotation refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
rag_pipeline refactor(api): clarify published RAG pipeline invoke naming (#30644) 2026-01-06 23:48:06 +09:00
workflow_cfs_scheduler feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
__init__.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
add_document_to_index_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
async_workflow_tasks.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
batch_clean_document_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
batch_create_segment_to_index_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
clean_dataset_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
clean_document_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
clean_notion_document_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
create_segment_to_index_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
deal_dataset_index_update_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
deal_dataset_vector_index_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
delete_account_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
delete_conversation_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
delete_segment_from_index_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
disable_segment_from_index_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
disable_segments_from_index_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
document_indexing_sync_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
document_indexing_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
document_indexing_update_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
duplicate_document_indexing_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
enable_segment_to_index_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
enable_segments_to_index_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
generate_summary_index_task.py feat: Make summary index support vision, and make the code more standardized. 2026-01-14 17:52:27 +08:00
mail_account_deletion_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_change_mail_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_email_code_login.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_inner_task.py fix: remote code execution in email endpoints (#25753) 2025-09-18 16:45:34 +08:00
mail_invite_member_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_owner_transfer_task.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
mail_register_task.py Feat/email register refactor (#25369) 2025-09-12 10:24:54 +08:00
mail_reset_password_task.py Feat/email register refactor (#25369) 2025-09-12 10:24:54 +08:00
ops_trace_task.py use model_validate (#26182) 2025-10-10 17:30:13 +09:00
process_tenant_plugin_autoupgrade_check_task.py feat(api): Implement EventManager error logging and add coverage (#29204) 2025-12-08 09:40:40 +08:00
recover_document_indexing_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
regenerate_summary_index_task.py feat: Make summary index support vision, and make the code more standardized. 2026-01-14 17:52:27 +08:00
remove_app_and_related_data_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
remove_document_from_index_task.py Merge remote main and resolve conflicts for summaryindex feature 2026-01-21 16:03:54 +08:00
retry_document_indexing_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
sync_website_document_indexing_task.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
trigger_processing_tasks.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
trigger_subscription_refresh_tasks.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
workflow_draft_var_tasks.py fix: drop useless logger code (#26650) 2025-10-09 09:24:10 +08:00
workflow_execution_tasks.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
workflow_node_execution_tasks.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00
workflow_schedule_tasks.py refactor: use session factory instead of call db.session directly (#31198) 2026-01-21 13:43:06 +08:00