mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-24 05:18:22 +00:00
allow int as well
This commit is contained in:
parent
4c6af8eac1
commit
ddd8d4abfe
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user