[PR #210] [MERGED] feat: add datasource plugin examples #224

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/210
Author: @Mairuis
Created: 9/24/2025
Status: Merged
Merged: 9/24/2025
Merged by: @Mairuis

Base: mainHead: feat/datasource_examples


📝 Commits (2)

  • 4821ef2 feat: add datasource plugin examples
  • 64d1f8f refactor: update type hints and improve error handling in datasource examples

📊 Changes

26 files changed (+780 additions, -45 deletions)

View changed files

📝 python/dify_plugin/core/entities/plugin/setup.py (+1 -2)
python/examples/firecrawl_datasource/.difyignore (+179 -0)
python/examples/firecrawl_datasource/.env.example (+4 -0)
python/examples/firecrawl_datasource/_assets/icon.svg (+17 -0)
python/examples/firecrawl_datasource/datasources/crawl.py (+93 -0)
python/examples/firecrawl_datasource/datasources/crawl.yaml (+116 -0)
python/examples/firecrawl_datasource/datasources/firecrawl_app.py (+153 -0)
python/examples/firecrawl_datasource/main.py (+6 -0)
python/examples/firecrawl_datasource/manifest.yaml (+45 -0)
python/examples/firecrawl_datasource/provider/firecrawl_datasource.py (+36 -0)
python/examples/firecrawl_datasource/provider/firecrawl_datasource.yaml (+41 -0)
python/examples/firecrawl_datasource/requirements.txt (+1 -0)
python/examples/google_cloud_storage/_assets/icon.png (+0 -0)
python/examples/google_cloud_storage/_assets/icon.svg (+6 -0)
📝 python/examples/google_cloud_storage/datasources/google_cloud_storage.py (+27 -9)
📝 python/examples/google_cloud_storage/datasources/google_cloud_storage.yaml (+7 -0)
📝 python/examples/google_cloud_storage/manifest.yaml (+5 -3)
📝 python/examples/google_cloud_storage/provider/google_cloud_storage.yaml (+1 -1)
📝 python/examples/google_cloud_storage/requirements.txt (+1 -1)
python/examples/notion_datasource/PRIVACY.md (+0 -3)

...and 6 more files

📄 Description

Pull Request Checklist

Thank you for your contribution! Before submitting your PR, please make sure you have completed the following checks:

Compatibility Check

  • I have checked whether this change affects the backward compatibility of the plugin declared in README.md
  • I have checked whether this change affects the forward compatibility of the plugin declared in README.md
  • If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the README.md
  • I have described the compatibility impact and the corresponding version number in the PR description
  • I have checked whether the plugin version is updated in the README.md

Available Checks

  • Code has passed local tests
  • Relevant documentation has been updated (if necessary)

🔄 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/210 **Author:** [@Mairuis](https://github.com/Mairuis) **Created:** 9/24/2025 **Status:** ✅ Merged **Merged:** 9/24/2025 **Merged by:** [@Mairuis](https://github.com/Mairuis) **Base:** `main` ← **Head:** `feat/datasource_examples` --- ### 📝 Commits (2) - [`4821ef2`](https://github.com/langgenius/dify-plugin-sdks/commit/4821ef255246701f94f2234e0bda65402bfc00f9) feat: add datasource plugin examples - [`64d1f8f`](https://github.com/langgenius/dify-plugin-sdks/commit/64d1f8fdde6d5ae0a3d63d3d241c76db5870b32b) refactor: update type hints and improve error handling in datasource examples ### 📊 Changes **26 files changed** (+780 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/core/entities/plugin/setup.py` (+1 -2) ➕ `python/examples/firecrawl_datasource/.difyignore` (+179 -0) ➕ `python/examples/firecrawl_datasource/.env.example` (+4 -0) ➕ `python/examples/firecrawl_datasource/_assets/icon.svg` (+17 -0) ➕ `python/examples/firecrawl_datasource/datasources/crawl.py` (+93 -0) ➕ `python/examples/firecrawl_datasource/datasources/crawl.yaml` (+116 -0) ➕ `python/examples/firecrawl_datasource/datasources/firecrawl_app.py` (+153 -0) ➕ `python/examples/firecrawl_datasource/main.py` (+6 -0) ➕ `python/examples/firecrawl_datasource/manifest.yaml` (+45 -0) ➕ `python/examples/firecrawl_datasource/provider/firecrawl_datasource.py` (+36 -0) ➕ `python/examples/firecrawl_datasource/provider/firecrawl_datasource.yaml` (+41 -0) ➕ `python/examples/firecrawl_datasource/requirements.txt` (+1 -0) ➖ `python/examples/google_cloud_storage/_assets/icon.png` (+0 -0) ➕ `python/examples/google_cloud_storage/_assets/icon.svg` (+6 -0) 📝 `python/examples/google_cloud_storage/datasources/google_cloud_storage.py` (+27 -9) 📝 `python/examples/google_cloud_storage/datasources/google_cloud_storage.yaml` (+7 -0) 📝 `python/examples/google_cloud_storage/manifest.yaml` (+5 -3) 📝 `python/examples/google_cloud_storage/provider/google_cloud_storage.yaml` (+1 -1) 📝 `python/examples/google_cloud_storage/requirements.txt` (+1 -1) ➖ `python/examples/notion_datasource/PRIVACY.md` (+0 -3) _...and 6 more files_ </details> ### 📄 Description # Pull Request Checklist Thank you for your contribution! Before submitting your PR, please make sure you have completed the following checks: ## Compatibility Check - [x] I have checked whether this change affects the **backward compatibility** of the plugin declared in `README.md` - [x] I have checked whether this change affects the **forward compatibility** of the plugin declared in `README.md` - [x] If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the `README.md` - [x] I have described the compatibility impact and the corresponding version number in the PR description - [x] I have checked whether the plugin version is updated in the `README.md` ## Available Checks - [x] Code has passed local tests - [x] Relevant documentation has been updated (if necessary) --- <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:16:19 -05:00
yindo closed this issue 2026-02-15 21:16:19 -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#224