- Introduction
-
Welcome! 0 hr 1 min
-
Why templating? 0 hr 2 min
- The Basics
-
What is templating? 0 hr 1 min
-
Runtime variables 0 hr 1 min
-
Templating in action! 0 hr 2 min
- Moving forward
-
Templatable or not? 0 hr 3 min
-
Create your macros 0 hr 2 min
-
Practice: Rendering Python Code with Jinja
- Finishing up...
-
Quiz!
-
Summary
-
How was it?
Airflow: Templating
Learn how to pass dynamic data to tasks at runtime.
Welcome! We're so glad you're here 😍
Templating allows you to pass dynamic information into task instances at runtime.
Templating in Airflow works the same as Jinja templating in Python. You enclose the code you want evaluated between double curly braces, and the expression is evaluated at runtime.
Well, let's learn what is templating and why it is so useful for you and see how to implement templating for your DAGs.
🎯Objectives
At the end of this course, you'll be able to:
- Define what’s templating and why it is important for you
- Implement templating to your DAGs
- Recognize if an operator argument is templateable or not
👥 Audience
Who should take this course:
- Data Engineers
- Data Analysts
- Software Engineers
Set aside 18 minutes to complete the course.
💻 Setup Requirements
You need to have the following:
- Docker and Docker compose on your computer (cf: get Docker)
- The Astro CLI
- Access to a web browser