vandonr-amz opened a new pull request, #29911:
URL: https://github.com/apache/airflow/pull/29911
- add a mechanism to allow custom waiters to take dynamic values at runtime
by editing the waiter config on the fly
- placeholders for dynamic values take the form `<CAPS_OR_123>` in the
waiter config's json
- they are meant to be used in the `argument` field, which describes
what's checked, but there is no technical limitation to use them elsewhere (for
instance to specify the `expected` value at runtime)
- the waiter config still needs to be valid json with those placeholders
unexpanded
- there is some validation, checking that necessary parameters have been
provided (WARN level logging if not, or if useless parameters are provided)
- apply this new capability in transforming appflow `wait_for_completion`
code to use a waiter (follow-up on #28869)
- not using the execution ID in this waiter would mean making unchecked
assumptions on the data we're reading.
--
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]