uranusjr commented on pull request #16956: URL: https://github.com/apache/airflow/pull/16956#issuecomment-879502170
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). -- 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]
