From ddd8d4abfe05b567fc0adebcc8d2a1dbd307cb61 Mon Sep 17 00:00:00 2001 From: burnettk Date: Tue, 24 May 2022 06:35:06 -0400 Subject: [PATCH] allow int as well --- src/spiff_workflow_webapp/spiff_workflow_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spiff_workflow_webapp/spiff_workflow_connector.py b/src/spiff_workflow_webapp/spiff_workflow_connector.py index e17ae1dd..a4251276 100755 --- a/src/spiff_workflow_webapp/spiff_workflow_connector.py +++ b/src/spiff_workflow_webapp/spiff_workflow_connector.py @@ -70,7 +70,7 @@ def format_task(task: Task, include_state: bool = True) -> str: def process_field( field: Any, answer: Union[dict, None], required_user_input_fields: Dict[str, str] -) -> Union[str, None]: +) -> Union[str, int, None]: """Handles the complexities of figuring out what to do about each necessary user field.""" response = None if isinstance(field, EnumFormField):