Easonliuuuuu opened a new pull request, #57451:
URL: https://github.com/apache/airflow/pull/57451

   ### Summary
   
   This PR adds the `'job'` field to `template_fields` in 
`CloudBatchSubmitJobOperator`.
   This allows users to dynamically template the `job` parameter using Jinja 
variables, improving flexibility when submitting Google Cloud Batch jobs.
   
   ### Related Issue
   
   closes: #37217
   
   ### Changes
   
   * Added `'job'` to `template_fields` of `CloudBatchSubmitJobOperator`.
   * Verified that templating now works correctly for job configurations.
   
   ### Tests
   
   * Existing operator tests cover template rendering; no new tests are 
required since this change only exposes an additional field to templating.
   
   ### Checklist
   
   * [x] Unit tests pass locally (`prek --all-files`)
   * [x] Documentation not affected (no user-facing doc changes needed)
   * [x] Follows [[Airflow’s contribution 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)
   


-- 
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]

Reply via email to