dify/api/services
Harry 4a17025467 fix(trigger): update session management in TriggerProviderService
- Changed session management in `TriggerProviderService` from `autoflush=True` to `expire_on_commit=False` for improved control over session state.
- This change enhances the reliability of database interactions by preventing automatic expiration of objects after commit, ensuring data consistency during trigger operations.

These updates contribute to better session handling and stability in trigger-related functionalities.
2025-09-16 18:01:44 +08:00
..
auth orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
enterprise Feat: Education (#24208) 2025-08-20 15:38:14 +08:00
entities feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
errors feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
plugin feat(trigger): enhance plugin and trigger integration with updated naming conventions 2025-09-08 23:14:50 +08:00
recommend_app make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00
tools chore: (trigger) refactor webhook service (#25229) 2025-09-05 14:00:20 +08:00
trigger fix(trigger): update session management in TriggerProviderService 2025-09-16 18:01:44 +08:00
workflow feat(trigger): enhance trigger plugin data structure and error handling 2025-09-16 15:39:40 +08:00
__init__.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
account_service.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
advanced_prompt_template_service.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
agent_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
annotation_service.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
api_based_extension_service.py make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00
app_dsl_service.py fix: clear schedule config when exporting data 2025-09-10 13:50:37 +08:00
app_generate_service.py Chore: remove dead func AppModelConfig.copy() with wrong logic (#24747) 2025-08-29 11:38:24 +08:00
app_model_config_service.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
app_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
async_workflow_service.py refactor: optimize TenantDailyRateLimiter to use UTC internally with timezone-aware error messages (#24632) 2025-08-27 17:35:04 +08:00
audio_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
billing_service.py Feat: Education (#24208) 2025-08-20 15:38:14 +08:00
clear_free_plan_tenant_expired_logs.py Update ast-grep pattern for session.query (#24828) 2025-08-31 17:03:51 +08:00
code_based_extension_service.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
conversation_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
dataset_service.py fix:hard-coded top-k fallback issue. (#24879) 2025-09-01 15:46:37 +08:00
external_knowledge_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
feature_service.py Feat/change user email (#22213) 2025-07-17 10:55:59 +08:00
file_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
hit_testing_service.py fix:hard-coded top-k fallback issue. (#24879) 2025-09-01 15:46:37 +08:00
knowledge_service.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
message_service.py fix wrong filter handle for saved messages (#24891) 2025-09-01 16:32:08 +08:00
metadata_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
model_load_balancing_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
model_provider_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
oauth_server.py feat: oauth provider (#24206) 2025-08-29 14:10:51 +08:00
operation_service.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
ops_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
recommended_app_service.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
saved_message_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
schedule_service.py feat: add workflow schedule trigger support (#24428) 2025-09-10 13:24:23 +08:00
tag_service.py Fix Empty Collection WHERE Filter Issue (#23086) 2025-07-29 11:17:50 +08:00
trigger_debug_service.py feat(trigger): implement plugin trigger synchronization and subscription management in workflow 2025-09-15 15:49:07 +08:00
trigger_service.py feat(trigger): enhance trigger plugin data structure and error handling 2025-09-16 15:39:40 +08:00
vector_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
web_conversation_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
webapp_auth_service.py example for rm extra cast (#24646) 2025-08-28 09:37:39 +08:00
webhook_service.py chore: add comments on generate_webhook_id 2025-09-10 17:23:29 +08:00
website_service.py refactor: Fix some type error (#22594) 2025-07-18 09:26:29 +08:00
workflow_app_service.py Add Filter of Get Workflow Logs (#21172) 2025-06-19 10:10:16 +08:00
workflow_draft_variable_service.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
workflow_plugin_trigger_service.py feat(trigger): implement plugin trigger synchronization and subscription management in workflow 2025-09-15 15:49:07 +08:00
workflow_run_service.py feat(api/repo): Allow to config repository implementation (#21458) 2025-07-14 14:54:38 +08:00
workflow_service.py feat(trigger): enhance trigger debugging with polling API and new subscription retrieval 2025-09-14 19:12:31 +08:00
workspace_service.py orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00