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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]