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 2022/04/27 16:08:10 UTC

[GitHub] [airflow] subkanthi commented on pull request #21077: Kubernetes decorator

subkanthi commented on PR #21077:
URL: https://github.com/apache/airflow/pull/21077#issuecomment-1111186097

   @ashb , currently the decorator uses the write_python_script function thats in the utils/python_virtualenv.py file and thats why the template(python_kubernetes_script.jinja2) was also placed in the same folder. If we want to remove the dependency on the utils folder, I guess we can copy of the write_python_script in the cncf.providers.kubernetes folder.
   
   `
   def write_python_script(
       jinja_context: dict,
       filename: str,
       render_template_as_native_obj: bool = False,
       template_file: str = 'python_virtualenv_script.jinja2',
   ):
   `


-- 
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