ashb commented on code in PR #54041:
URL: https://github.com/apache/airflow/pull/54041#discussion_r2259675726
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/job.py:
##########
@@ -95,7 +95,9 @@ class KubernetesJobOperator(KubernetesPodOperator):
compatibility.
"""
- template_fields: Sequence[str] = tuple({"job_template_file"} |
set(KubernetesPodOperator.template_fields))
+ template_fields: Sequence[str] = tuple(
+ sorted({"job_template_file"} |
set(KubernetesPodOperator.template_fields))
+ )
Review Comment:
Seems easier to do this:
```suggestion
template_fields: Sequence[str] = tuple("job_template_file",
*KubernetesPodOperator.template_fields)
```
--
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]