kaxil commented on code in PR #26390:
URL: https://github.com/apache/airflow/pull/26390#discussion_r971007239
##########
airflow/decorators/python.py:
##########
@@ -35,8 +35,8 @@ class _PythonDecoratedOperator(DecoratedOperator,
PythonOperator):
multiple XCom values. Dict will unroll to XCom values with its keys as
XCom keys. Defaults to False.
"""
- template_fields: Sequence[str] = ('op_args', 'op_kwargs')
- template_fields_renderers = {"op_args": "py", "op_kwargs": "py"}
+ template_fields: Sequence[str] = ('templates_dict', 'op_args', 'op_kwargs')
+ template_fields_renderers = {"templates_dict": "json", "op_args": "py",
"op_kwargs": "py"}
Review Comment:
Can you add a test for the case you are mentioning
--
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]