diff --git a/msa_sdk/msa_api.py b/msa_sdk/msa_api.py index 57ea89ba..a21184c1 100644 --- a/msa_sdk/msa_api.py +++ b/msa_sdk/msa_api.py @@ -130,6 +130,30 @@ def task_success(cls, comment, context, log_response=True): log_response)) sys.exit(0) + @classmethod + def task_pause(cls, comment, context, log_response=True): + """ + + Task pause and print. + + Parameters + ---------- + comment: String + Comment + context: Dictionary + Context + log_response: Bool + Write log to a file + + Returns + ------- + None + + """ + print(cls.process_content(constants.PAUSED, comment, context, + log_response)) + sys.exit(0) + @property def token(self): """