You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jscheffl (via GitHub)" <gi...@apache.org> on 2025/09/08 20:18:00 UTC
Re: [I] CloudBatchSubmitJobOperator runnable.container.commands does not interpret jinja templates [airflow]
jscheffl commented on issue #37217:
URL: https://github.com/apache/airflow/issues/37217#issuecomment-3267825676
> In case somebody encounters this issue, a quick & dirty hack is to extend the `CloudBatchSubmitJobOperator` class by creating a custom class that inherits from it.
@raph-p it is not hard to open a PR, if it is a single line to change you can even make this via Github UI. Also my OSS Contribution started like this :-D
You can make it also as describe above with a single line of code. From the instantiated operator in your Dag you can also directly adjust the `template_fields` attribute and extend the filed in one line of code in Dag code, no need to inherit a custom class from the original one.
--
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