dify/api/services
Harry 5e3e6b0bd8 refactor(api): update subscription handling in trigger provider
- Replaced SubscriptionSchema with SubscriptionConstructor in various parts of the trigger provider implementation to streamline subscription management.
- Enhanced the PluginTriggerProviderController to utilize the new subscription constructor for retrieving default properties and credential schemas.
- Removed the deprecated get_provider_subscription_schema method from TriggerManager.
- Updated TriggerSubscriptionBuilderService to reflect changes in subscription handling, ensuring compatibility with the new structure.

These changes improve the clarity and maintainability of the subscription handling within the trigger provider architecture.
2025-09-29 18:28:10 +08:00
..
auth more httpx (#25651) 2025-09-22 23:07:09 +08:00
enterprise feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
entities fix full_text_search name (#26104) 2025-09-23 16:40:26 +08:00
errors Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
plugin refactor(api): enhance request handling and time management 2025-09-25 19:46:52 +08:00
rag_pipeline Fix: use data.type instead of type when checking datasource node (#25965) 2025-09-22 10:01:21 +08:00
recommend_app chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
tools refactor(api): refactor all 2025-09-25 18:22:30 +08:00
trigger refactor(api): update subscription handling in trigger provider 2025-09-29 18:28:10 +08:00
workflow fix can't subtract offset-naive and offset-aware datetimes 2025-09-28 09:10:21 +08:00
__init__.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
account_service.py fix: remove billing cache when add or delete app or member (#25885) 2025-09-18 12:18:07 +08:00
advanced_prompt_template_service.py chore: adopt StrEnum and auto() for some string-typed enums (#25129) 2025-09-12 21:14:26 +08:00
agent_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
annotation_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
api_based_extension_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
app_dsl_service.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
app_generate_service.py add debug run schedule node 2025-09-28 16:37:37 +08:00
app_model_config_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
app_service.py one example of Session (#24135) 2025-09-24 03:32:48 +08:00
async_workflow_service.py refactor(api): enhance request handling and time management 2025-09-25 19:46:52 +08:00
audio_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
billing_service.py fix: remove billing cache when add or delete app or member (#25885) 2025-09-18 12:18:07 +08:00
clear_free_plan_tenant_expired_logs.py update sql in batch (#24801) 2025-09-10 13:00:17 +08:00
code_based_extension_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
conversation_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
dataset_service.py one example of Session (#24135) 2025-09-24 03:32:48 +08:00
datasource_provider_service.py refactor(api): refactor all 2025-09-25 18:22:30 +08:00
external_knowledge_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
feature_service.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
file_service.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
hit_testing_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
knowledge_service.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
message_service.py fix: Message => str (#25876) 2025-09-18 17:57:57 +08:00
metadata_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
model_load_balancing_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
model_provider_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
oauth_server.py feat: oauth provider (#24206) 2025-08-29 14:10:51 +08:00
operation_service.py more httpx (#25651) 2025-09-22 23:07:09 +08:00
ops_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
recommended_app_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
saved_message_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
schedule_service.py feat: add workflow schedule trigger support (#24428) 2025-09-10 13:24:23 +08:00
tag_service.py one example of Session (#24135) 2025-09-24 03:32:48 +08:00
trigger_debug_service.py debug webhook node 2025-09-29 09:28:19 +08:00
trigger_service.py refactor(api): refactor all 2025-09-25 18:22:30 +08:00
variable_truncator.py fix(api): Fix variable truncation for `list[File]` value in output mapping (#26133) 2025-09-23 21:30:46 +08:00
vector_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
web_conversation_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
webapp_auth_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
webhook_service.py debug webhook node 2025-09-29 09:28:19 +08:00
website_service.py more httpx (#25651) 2025-09-22 23:07:09 +08:00
workflow_app_service.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
workflow_draft_variable_service.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
workflow_plugin_trigger_service.py refactor(api): refactor all 2025-09-25 18:22:30 +08:00
workflow_run_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
workflow_service.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
workspace_service.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00