The GitHub Actions job "Tests (AMD)" on airflow.git/fix-sparksubmit-init-template-field has succeeded. Run started by GitHub user 1fanwang (triggered by 1fanwang).
Head commit for run: 4e593f1f68e06d34735cde2e00182de067631f9d / 1fanwang <[email protected]> Drop unused post_submit_commands copy from SparkSubmitOperator init post_submit_commands is a template field, so it is rendered after __init__ runs. The constructor kept a second, private list copy (self._post_submit_commands) built from the un-rendered value, but nothing reads it: the operator forwards the rendered self.post_submit_commands to SparkSubmitHook, which builds its own list. Removing the dead copy stops the constructor reading the template field and lets its validate-operators-init exemption go. related: #70296 Signed-off-by: 1fanwang <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/30072121572 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
