Disabl remote target retries for fetch-output.
@@ -424,6 +424,8 @@ class Task(BaseTask):
return remove_task_output(self, *args)
def _fetch_output(self, args):
+ import law.target.remote as ltr
+ with patch_object(ltr, "global_retries", 0, lock=True):
return fetch_task_output(self, *args)
def localize_input(self, *args, **kwargs):
