Taragolis commented on code in PR #35576:
URL: https://github.com/apache/airflow/pull/35576#discussion_r1391797352
##########
airflow/providers/databricks/operators/databricks.py:
##########
@@ -720,7 +720,7 @@ class DatabricksRunNowOperator(BaseOperator):
"""
# Used in airflow.models.BaseOperator
- template_fields: Sequence[str] = ("json", "databricks_conn_id")
+ template_fields: Sequence[str] = ("json", "databricks_conn_id", "job_id")
Review Comment:
Templates fields works with class instance attributes not with constructor's
arguments.
```python
class FooBar:
def __init__(self, awesome_constructor_argument):
self.superb_object_attribute = awesome_constructor_argument
```
--
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]