feat: Allow default configuration of retrieve behaviour#60
feat: Allow default configuration of retrieve behaviour#60johanneskoester merged 1 commit intosnakemake:mainfrom
Conversation
📝 WalkthroughWalkthroughThe pull request introduces a new Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant StorageProvider as StorageProviderBase
Caller->>StorageProvider: Call __init__(..., retrieve=True)
Caller->>StorageProvider: Call object(query, retrieve: None)
StorageProvider-->>StorageProvider: Check if retrieve is None
StorageProvider-->>StorageProvider: Set retrieve = self.retrieve
StorageProvider-->>Caller: Return object data
Possibly related PRs
Suggested reviewers
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)`**/*.py`: Do not try to improve formatting. Do not suggest ...
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (4)
✨ Finishing Touches
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:
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
CodeRabbit Configuration File (
|
This allows for the
retrieveargument to be set for astorage_providerthe same way thatkeep_localcan be already.This is useful for example with the XRootD storage plugin where we typically want
retrieve=Falseso this modification makes it easier to specify this instead of the deafultretrieve=Truebehaviour.Required for snakemake/snakemake#3410.
Summary by CodeRabbit