allow int as well

This commit is contained in:
burnettk 2022-05-24 06:35:06 -04:00
parent 4c6af8eac1
commit ddd8d4abfe
1 changed files with 1 additions and 1 deletions

View File

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