ashb commented on a change in pull request #20034:
URL: https://github.com/apache/airflow/pull/20034#discussion_r770961678
##########
File path: airflow/operators/python.py
##########
@@ -131,14 +131,14 @@ def my_python_callable(**kwargs):
:type show_return_value_in_logs: bool
"""
- template_fields = ('templates_dict', 'op_args', 'op_kwargs')
+ template_fields: Sequence[str] = ('templates_dict', 'op_args', 'op_kwargs')
Review comment:
Yeah, if you make the type on BaseOperator a Sequence instead of a Tuple
it should fix this problem too, and then we shouldn't need the typing here.
--
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]