Skip to content

fix: Python SDK WorkflowClient and KnowledgeBase client imports fixed. Added documentation for WorkflowClient. - #22476

Merged
crazywoola merged 2 commits into
langgenius:mainfrom
omavashia2005:fix-workflow-client-imports
Jul 17, 2025
Merged

crazywoola merged 2 commits into
langgenius:mainfrom
omavashia2005:fix-workflow-client-imports

Conversation

@omavashia2005

@omavashia2005 omavashia2005 commented Jul 16, 2025 •

Copy link
Copy Markdown
Contributor

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #22475.

Summary

WorkflowClient and KnowledgeBaseClient are cleanly imported without requiring workarounds.

FIx #22475

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Before:
Screenshot 2025-07-16 at 10 32 52 AM

After:
Screenshot 2025-07-16 at 10 33 02 AM

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. 🐍Python 📚 documentation Improvements or additions to documentation labels Jul 16, 2025
@omavashia2005 omavashia2005 changed the title Python SDK WorkflowClient and KnowledgeBase client imports fixed. Added documentation for WorkflowClient. fix: Python SDK WorkflowClient and KnowledgeBase client imports fixed. Added documentation for WorkflowClient. Jul 16, 2025
@crazywoola

Copy link
Copy Markdown
Member

Please run dev/reformat to resolve lint errors.

@omavashia2005

omavashia2005 commented Jul 16, 2025 •

Copy link
Copy Markdown
Contributor Author

Please run dev/reformat to resolve lint errors.

Ran dev/reformat, no issues or errors were found and all checks passed.

crazywoola
crazywoola previously approved these changes Jul 16, 2025
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 16, 2025
@crazywoola

Copy link
Copy Markdown
Member

@omavashia2005 It turns out there is a missing new line in the README.md :(

@crazywoola
crazywoola merged commit 4b604bd into langgenius:main Jul 17, 2025
tutkun pushed a commit to tutkun/dify that referenced this pull request Aug 15, 2025
…. Added documentation for WorkflowClient. (langgenius#22476)

Co-authored-by: crazywoola <[email protected]>
Ssazurov pushed a commit to Ssazurov/dify that referenced this pull request Aug 8, 2026
…. Added documentation for WorkflowClient. (langgenius#22476)

Co-authored-by: crazywoola <[email protected]>
omavashia2005 added a commit to omavashia2005/portfolio-new that referenced this pull request Oct 16, 2026
Added three new open source PRs to the portfolio:
- imkerberos/nvim-gpui#3 (merged)
- langgenius/dify#22476 (merged)
- excalidraw/excalidraw#11587 (open)

Enhanced OSS tab UI with:
- Color-coded status indicators (green for merged, orange for open)
- Status badges on each PR
- Left border visual separator for PR lists
- Improved spacing and typography
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing WorkflowClient and KnowledgeBaseClient Imports in Python SDK

2 participants