next_ds changed to proxy and it cannot be used in ds_add macro function #19241
Labels
affected_version:2.2
Issues Reported for 2.2
area:core
good first issue
kind:bug
This is a clearly a bug
Apache Airflow version
2.2.0 (latest released)
Operating System
Ubuntu
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
No response
What happened
Tried to use this this code:
some_variable='{{macros.ds_format(macros.ds_add(next_ds, ' '(ti.start_date - ti.execution_date).days), ' '"%Y-%m-%d", "%Y-%m-%d 21:00:00")}}')
but got this error:
strptime() argument 1 must be str, not Proxy
because the
next_ds
variable changed to proxy.What you expected to happen
No response
How to reproduce
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: