From f46909ecfb2b5b4974bc59cc3e43dc8b872b4c16 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 8 Feb 2023 12:27:55 -0500 Subject: [PATCH] fixing some missing types --- .../src/spiffworkflow_backend/services/service_task_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bf7c5ddc6..da3a65bba 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: