github-actions[bot] opened a new pull request, #74961:
URL: https://github.com/apache/airflow/pull/74961
A HITL param declared as a string whose value looks like a JSON object was
parsed into an object by the review form. The string field then rendered
"[object Object]", and the form sent the object back as params_input, so an
untouched Approve failed the task's param validation and integers above 2**53
were rounded. Only parse the value when the declared schema allows an object.
Values arrive as stored JSON, so an object param's value is already an
object and the parse only ever turned a string into one. That covered
untyped params too: Param('{"a": 1}') still came back as a dict.
(cherry picked from commit 7e3b2c64f1d5169118b5e699c05fb7cca1f60d44)
Co-authored-by: Kaxil Naik <[email protected]>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]