docs: add friendlier messages for optional dependency import checks#9101
docs: add friendlier messages for optional dependency import checks#9101jordanrfrazier wants to merge 2 commits into
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis change updates ImportError messages across several modules to clarify that certain dependencies are optional. The new messages provide explicit installation instructions using Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant LangflowComponent
participant DependencyManager
User->>LangflowComponent: Use feature requiring optional dependency
LangflowComponent->>DependencyManager: Attempt to import optional dependency
alt Dependency present
DependencyManager-->>LangflowComponent: Import succeeds
LangflowComponent-->>User: Feature works as expected
else Dependency missing
DependencyManager-->>LangflowComponent: ImportError raised
LangflowComponent-->>User: Raises ImportError with install instructions
end
Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Add friendlier messages for optional dependency import checks, to help direct users to documentation to install optional dependencies.
Summary by CodeRabbit
Bug Fixes
Documentation