rkarish commented on PR #29034: URL: https://github.com/apache/airflow/pull/29034#issuecomment-1414944253
> I have doubts making this an operator argument is the right design. I’d want to make this designed at the operator class level, e.g. > > ```python > class MyOperator(BaseOperator): > template_fields = "__all__" # Or we could introduce a flag constant for this. > template_fields_excludes = [...] # If needed. > ``` > > And then we can work to convert existing operators gradually with more confidence they work. With this approach how are the fields to template determined? -- 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]
