[PR #100] [MERGED] feat(invocation): add FetchAppInvocation and update type hints for improved clarity #144

Closed
opened 2026-02-15 21:15:57 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/100
Author: @Yeuoly
Created: 4/16/2025
Status: Merged
Merged: 4/16/2025
Merged by: @Yeuoly

Base: mainHead: feat/fetch-app-info


📝 Commits (2)

  • 8a05322 feat(invocation): add FetchAppInvocation and update type hints for improved clarity
  • a98bb52 apply ruff

📊 Changes

5 files changed (+35 additions, -3 deletions)

View changed files

📝 python/dify_plugin/core/entities/invocation.py (+1 -0)
📝 python/dify_plugin/core/runtime.py (+6 -1)
📝 python/dify_plugin/entities/tool.py (+1 -1)
📝 python/dify_plugin/interfaces/tool/__init__.py (+1 -1)
📝 python/dify_plugin/invocations/app/__init__.py (+26 -0)

📄 Description

  • Introduced FetchAppInvocation class to handle fetching app data.
  • Updated type hints in ToolInvokeMessage and related classes to use Mapping for better type safety.
  • Added FetchApp enum value to InvokeType for consistency in invocation types.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-sdks/pull/100 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 4/16/2025 **Status:** ✅ Merged **Merged:** 4/16/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/fetch-app-info` --- ### 📝 Commits (2) - [`8a05322`](https://github.com/langgenius/dify-plugin-sdks/commit/8a05322986211a2d9f6a94f297183fc2050f08aa) feat(invocation): add FetchAppInvocation and update type hints for improved clarity - [`a98bb52`](https://github.com/langgenius/dify-plugin-sdks/commit/a98bb5289cd76f450237a8409f982037bd9b9dbc) apply ruff ### 📊 Changes **5 files changed** (+35 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/core/entities/invocation.py` (+1 -0) 📝 `python/dify_plugin/core/runtime.py` (+6 -1) 📝 `python/dify_plugin/entities/tool.py` (+1 -1) 📝 `python/dify_plugin/interfaces/tool/__init__.py` (+1 -1) 📝 `python/dify_plugin/invocations/app/__init__.py` (+26 -0) </details> ### 📄 Description - Introduced FetchAppInvocation class to handle fetching app data. - Updated type hints in ToolInvokeMessage and related classes to use Mapping for better type safety. - Added FetchApp enum value to InvokeType for consistency in invocation types. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:15:57 -05:00
yindo closed this issue 2026-02-15 21:15:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#144