daesung9511 opened a new pull request, #70364:
URL: https://github.com/apache/airflow/pull/70364
Align the Step Functions input template field with the corresponding
constructor argument and instance attribute.
The operator previously declared `input` as a template field while accepting
`state_machine_input` in `__init__` and assigning it to `self.input`. This
caused transformed and missing assignment validation failures.
@shahar1
This change:
* renames the template field from `input` to `state_machine_input`
* assigns the constructor argument directly to `self.state_machine_input`
* updates the execution logic and unit tests to use the aligned attribute
name
* removes the operator from the initialization exemption list
Tests:
```bash
breeze run pytest \
providers/amazon/tests/unit/amazon/aws/operators/test_step_function.py
```
related: #70296
---
##### Was generative AI tooling used to co-author this PR?
* [ ] Yes (please specify the tool below)
---
--
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]