Apache Airflow Provider(s)
slack
Versions of Apache Airflow Providers
apache-airflow-providers-slack==3.0.0
Apache Airflow version
2.1.4 (latest released)
Operating System
Debian GNU/Linux 11 (bullseye)
Deployment
Other Docker-based deployment
Deployment details
No response
What happened
Using a template string for SlackAPIFileOperator.filename doesn't apply the templating.
What you expected to happen
SlackAPIFileOperator.filrname should work with a template string.
How to reproduce
Use a template string when using SlackAPIFileOperator.
Anything else
Re: PR: https://github.com/apache/airflow/pull/17400/files
In commit: bbd11de
filename was removed from template_fields. I believe this was because filename was removed as a parameter in favour of file. In a later commit file was renamed to filename but the template_fields was not put back. The documentation still states that it's a templated field.
Are you willing to submit PR?
Code of Conduct
Apache Airflow Provider(s)
slack
Versions of Apache Airflow Providers
apache-airflow-providers-slack==3.0.0
Apache Airflow version
2.1.4 (latest released)
Operating System
Debian GNU/Linux 11 (bullseye)
Deployment
Other Docker-based deployment
Deployment details
No response
What happened
Using a template string for
SlackAPIFileOperator.filenamedoesn't apply the templating.What you expected to happen
SlackAPIFileOperator.filrnameshould work with a template string.How to reproduce
Use a template string when using
SlackAPIFileOperator.Anything else
Re: PR: https://github.com/apache/airflow/pull/17400/files
In commit: bbd11de
filenamewas removed fromtemplate_fields. I believe this was becausefilenamewas removed as a parameter in favour offile. In a later commitfilewas renamed tofilenamebut thetemplate_fieldswas not put back. The documentation still states that it's a templated field.Are you willing to submit PR?
Code of Conduct