diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py index bf7c5ddc..da3a65bb 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py @@ -44,7 +44,7 @@ class ServiceTaskDelegate: return value @staticmethod - def get_message_for_status(code): + def get_message_for_status(code: int) -> str: """Given a code like 404, return a string like 'The requested resource was not found.'""" msg = f"HTTP Status Code {code}." if code == 301: