ashb opened a new pull request, #22975:
URL: https://github.com/apache/airflow/pull/22975
Many operators do some type validation inside `__init__`
(DateTimeSensor for instance -- which requires a str or a datetime)
which then fail when mapped as they get an XComArg instead.
To fix this we have had to change the order we unmap and resolve
templates:
- first we get the unmapping kwargs, we resolve expansion/mapping args
in that
- Then we create the operator (this should fix the constructor getting
XComArg problem)
- Then we render templates, but only for values that _weren't_ expanded
already
--
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]