You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/14 01:01:34 UTC

[GitHub] [airflow] uranusjr commented on pull request #16956: Update spark_kubernetes.py

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org