From cb866fb7e74734f86f2687243b80f1ea588050cd Mon Sep 17 00:00:00 2001 From: Ian Grant <ian.conway.grant@gmail.com> Date: Thu, 15 May 2025 11:46:03 -0400 Subject: [PATCH] docs: update Job class docstring and clarify resubmission prompt --- maap_utils/Job.py | 2 +- maap_utils/JobManager.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maap_utils/Job.py b/maap_utils/Job.py index 9728c83..d304526 100644 --- a/maap_utils/Job.py +++ b/maap_utils/Job.py @@ -5,7 +5,7 @@ maap = MAAP(maap_host="api.maap-project.org") class Job: - """Represents an individual processing job""" + """Handles API interactions for a single job on MAAP""" def __init__(self, kwargs: Dict): self._kwargs = kwargs diff --git a/maap_utils/JobManager.py b/maap_utils/JobManager.py index 61377de..087b8e1 100644 --- a/maap_utils/JobManager.py +++ b/maap_utils/JobManager.py @@ -186,8 +186,8 @@ class JobManager: """Prompt user for interactive resubmission of failed jobs""" redo_answer = input( "\nResubmit failed jobs? [y/N] " - "This will resubmit all jobs that do not have 'Succeeded' status " - "and continue monitoring.\n" + "This will resubmit all finished jobs that do not have 'Succeeded'" + " status and continue monitoring.\n" ).strip() if redo_answer == "y": redo = True -- GitLab