Skip to content

Commit 793df28

Browse files
jhiemstrawiscJUSTIN HIEMSTRA
andauthored
feat: add a default for the can_transfer_local_files interface (#67)
Co-authored-by: JUSTIN HIEMSTRA <justin.hiemstra@path-ap2001.chtc.wisc.edu>
1 parent 0e8ed82 commit 793df28

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

snakemake_interface_executor_plugins/settings.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ class CommonSettings:
5353
of the user provided settings. This should be True if the executor spawns
5454
another non-local executor that runs jobs on the same node.
5555
For example, it is used in snakemake-executor-plugin-slurm-jobstep.
56+
can_transfer_local_files: bool
57+
Indicates whether the plugin can transfer local files to the remote executor when
58+
run without a shared FS. If true, it's the plugin's responsibility and not
59+
Snakemake's to manage file transfers.
5660
"""
5761

5862
non_local_exec: bool
@@ -68,6 +72,7 @@ class CommonSettings:
6872
init_seconds_before_status_checks: int = 0
6973
pass_group_args: bool = False
7074
spawned_jobs_assume_shared_fs: bool = False
75+
can_transfer_local_files: bool = False
7176

7277
@property
7378
def local_exec(self):

0 commit comments

Comments
 (0)