john-jac commented on pull request #16956: URL: https://github.com/apache/airflow/pull/16956#issuecomment-880101235
> Actually the argument can be _either_ a file path or a JSON string. Airflow performs special handling to operator fields listed in `template_fields`, so if you supply something like `/data/spark_kubernetes_app_file.json`, that file will be read (and templated) automatically. So the current documentation is not wrong (neither is yours though, and we probably want both behaviours described). Could you provide an example of the use of the 'template fields' as I worked with a customer recently and this didn't seem to work. -- 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]
