Bob Colner
shell_run_command
retries
TypeError: got an unexpected keyword argument 'retries'
config_ssh_rsync_f = shell_run_command( retries = 3, retry_delay_seconds = 10, command = "ls", return_all = True, wait_for = [spinup_databox_f], )
Anna Geller
from prefect import flow from prefect_shell import shell_run_command @flow def example_shell_run_command_flow(): return shell_run_command.with_options(retries=5)(command="ls .", return_all=True) if __name__ == "__main__": example_shell_run_command_flow()
from prefect import flow from prefect_shell import shell_run_command @flow def example_shell_run_command_flow(): return shell_run_command.with_options(retries=5, retry_delay_seconds=30)( command="ls .", return_all=True ) if __name__ == "__main__": example_shell_run_command_flow()
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.