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

   `CloudBuildCreateBuildOperator` stores a second copy of the templated 
`build` argument in `build_raw` during construction. This additional value read 
requires the operator to remain exempt from template-field constructor 
validation.
   
   This change removes `build_raw` and uses a local `build_path` inside 
`prepare_template()` while loading JSON or YAML into `self.build`. Existing 
template-loading behavior remains unchanged, while the constructor now only 
assigns the argument to its corresponding instance field.
   
   The obsolete constructor-validation exemption is removed in the same change.
   
   related: #70296
   
   ### Validation
   
   * Cloud Build operator unit tests: 36 passed
   * Operator constructor validation: passed
   * Ruff formatting and lint checks: passed
   * Git diff whitespace validation: passed
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   * [x] Yes — OpenAI Codex
   
   Generated-by: OpenAI Codex following [[the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


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