From 4c7dfaffa6f3e1f4e1c7fe584748824d16d43b4d 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 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: