The action function decorator always had a convert argument, but it's functionality was never implemented. This adds the conversion logic to _map_params_to_view_args, following the implementation in flask-ask wherever possible.
Note that the shorthand implementations don't need any regex matching as in flask-ask because Dialogflow returns irregular date/time values as normal ISO-8601 strings (e.g. "this summer" becomes 2018-06-01/2018-08-31).
The action function decorator always had a
convert
argument, but it's functionality was never implemented. This adds the conversion logic to_map_params_to_view_args
, following the implementation in flask-ask wherever possible.Note that the shorthand implementations don't need any regex matching as in flask-ask because Dialogflow returns irregular date/time values as normal ISO-8601 strings (e.g. "this summer" becomes
2018-06-01/2018-08-31
).