Skip to content

Commit

Permalink
Fixed poetry lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
meta-paul committed Jul 2, 2024
1 parent b09baf8 commit fbc55c8
Show file tree
Hide file tree
Showing 3 changed files with 2,351 additions and 1,925 deletions.
4 changes: 1 addition & 3 deletions mephisto/data_model/task_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,7 @@ class TaskRunArgs:

resume_incomplete_run: Optional[bool] = field(
default=False,
metadata={
"help": "Resume incomplete or interrupted TaskRun if it exists (EXPERIMENTAL)."
},
metadata={"help": "Resume incomplete or interrupted TaskRun if it exists (EXPERIMENTAL)."},
)

@classmethod
Expand Down
4 changes: 1 addition & 3 deletions mephisto/operations/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,7 @@ def launch_task_run(

try:
resume_incomplete_run = run_config.task.resume_incomplete_run
logger.debug(
f"TaskRun argument `resume_incomplete_run` = {resume_incomplete_run}"
)
logger.debug(f"TaskRun argument `resume_incomplete_run` = {resume_incomplete_run}")
if resume_incomplete_run:
incomplete_task_run = self.find_previous_task_run(run_config=run_config)
return self.launch_from_incomplete_run(
Expand Down
Loading

0 comments on commit fbc55c8

Please sign in to comment.