[PR #449] [MERGED] feat(cmd): add datasource template #512

Closed
opened 2026-02-16 01:16:11 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/449
Author: @jingfelix
Created: 9/16/2025
Status: Merged
Merged: 9/16/2025
Merged by: @Yeuoly

Base: mainHead: feat/datasource-template


📝 Commits (2)

  • 7e5c7d0 feat: add template for datasource plugins
  • 79181ba fix: description and missing category

📊 Changes

8 files changed (+396 additions, -1 deletions)

View changed files

📝 cmd/commandline/plugin/category.go (+3 -1)
📝 cmd/commandline/plugin/init.go (+5 -0)
📝 cmd/commandline/plugin/python.go (+18 -0)
📝 cmd/commandline/plugin/python_categories.go (+22 -0)
cmd/commandline/plugin/templates/python/datasource.py (+147 -0)
cmd/commandline/plugin/templates/python/datasource.yaml (+72 -0)
cmd/commandline/plugin/templates/python/datasource_provider.py (+68 -0)
cmd/commandline/plugin/templates/python/datasource_provider.yaml (+61 -0)

📄 Description

Description

  • add plugin templates for datasource.
  • add datasource as a category.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • Other

Essential Checklist

Testing

  • I have tested the changes locally and confirmed they work as expected
  • I have added unit tests where necessary and they pass successfully

Bug Fix (if applicable)

  • I have used GitHub syntax to close the related issue (e.g., Fixes #123 or Closes #123)

Additional Information

Please provide any additional context that would help reviewers understand the changes.


🔄 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-daemon/pull/449 **Author:** [@jingfelix](https://github.com/jingfelix) **Created:** 9/16/2025 **Status:** ✅ Merged **Merged:** 9/16/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/datasource-template` --- ### 📝 Commits (2) - [`7e5c7d0`](https://github.com/langgenius/dify-plugin-daemon/commit/7e5c7d067cd9f5eb3d9776e0cbb441eac2635c0a) feat: add template for datasource plugins - [`79181ba`](https://github.com/langgenius/dify-plugin-daemon/commit/79181ba010b84ea4f808638b095b1805ef9c2979) fix: description and missing category ### 📊 Changes **8 files changed** (+396 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/commandline/plugin/category.go` (+3 -1) 📝 `cmd/commandline/plugin/init.go` (+5 -0) 📝 `cmd/commandline/plugin/python.go` (+18 -0) 📝 `cmd/commandline/plugin/python_categories.go` (+22 -0) ➕ `cmd/commandline/plugin/templates/python/datasource.py` (+147 -0) ➕ `cmd/commandline/plugin/templates/python/datasource.yaml` (+72 -0) ➕ `cmd/commandline/plugin/templates/python/datasource_provider.py` (+68 -0) ➕ `cmd/commandline/plugin/templates/python/datasource_provider.yaml` (+61 -0) </details> ### 📄 Description ## Description - add plugin templates for datasource. - add `datasource` as a category. ## Type of Change - [ ] Bug fix - [x] New feature - [ ] Refactor - [ ] Performance improvement - [ ] Other ## Essential Checklist ### Testing - [x] I have tested the changes locally and confirmed they work as expected - [x] I have added unit tests where necessary and they pass successfully ### Bug Fix (if applicable) - [ ] I have used GitHub syntax to close the related issue (e.g., `Fixes #123` or `Closes #123`) ## Additional Information Please provide any additional context that would help reviewers understand the changes. --- <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-16 01:16:11 -05:00
yindo closed this issue 2026-02-16 01:16:11 -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-daemon#512