fixing some missing types

This commit is contained in:
Dan 2023-02-08 12:27:55 -05:00
parent c270ababd9
commit f46909ecfb
1 changed files with 1 additions and 1 deletions

View File

@ -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: