atul-astronomer opened a new issue, #46393:
URL: https://github.com/apache/airflow/issues/46393
### Apache Airflow version
main (development)
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
User is passing op_args value as tuple in the PythonOperator but getting
error `"error_detail":[{"exc_type":"ValidationError","exc_value":"6 validation
errors for SetRenderedFields\nrendered_fields.op_args.list.0.list.0\n input
was not a valid JSON value [type=invalid-json-value,
input_value=('group1.dummy0', 'group1.dummy1', 'branch one'),`
### What you think should happen instead?
User should be able to pass a tuple as a collection in op_args
### How to reproduce
Issue found on Airflow 3 tag '3.0.0a1'
1. Create a DAG which utilises the below snippet
`PythonOperator(
task_id="tuples",
python_callable=some_callable,
op_args=[("a", "b", "c")]
)`
2. Run the DAG and notice the error
### Operating System
Linux
### Versions of Apache Airflow Providers
_No response_
### Deployment
Other
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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]