Subbing out
You're reviewing a Dag written by someone who left the company before you arrived. The Dag is configured to monitor for a static file path, but you'd like to modify it to support accessing content based on the run date. Specifically, you'd like to look for files in the subdirectory format of YYYY-MM.
Which of the following Jinja template strings should you use?
This exercise is part of the course
Introduction to Apache Airflow in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise