File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
snakemake_interface_storage_plugins Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ def __init__(
5959 local_prefix : Path ,
6060 settings : Optional [StorageProviderSettingsBase ] = None ,
6161 keep_local = False ,
62+ retrieve = True ,
6263 is_default = False ,
6364 ):
6465 try :
@@ -70,6 +71,7 @@ def __init__(
7071 self .local_prefix = local_prefix
7172 self .settings = settings
7273 self .keep_local = keep_local
74+ self .retrieve = retrieve
7375 self .is_default = is_default
7476 self ._rate_limiters = dict ()
7577 self .__post_init__ ()
@@ -166,7 +168,7 @@ def object(
166168 self ,
167169 query : str ,
168170 keep_local : Optional [bool ] = None ,
169- retrieve : bool = True ,
171+ retrieve : Optional [ bool ] = None ,
170172 static : bool = False ,
171173 ):
172174 from snakemake_interface_storage_plugins .storage_object import (
@@ -178,6 +180,9 @@ def object(
178180 if keep_local is None :
179181 keep_local = self .keep_local
180182
183+ if retrieve is None :
184+ retrieve = self .retrieve
185+
181186 storage_object = self .get_storage_object_cls ()(
182187 query = query ,
183188 keep_local = keep_local ,
You can’t perform that action at this time.
0 commit comments