~/talk

Optimize Your DAGs: Embrace Dag Params for Efficiency and Simplicity

Talkat Airflow Summit 2024 · 2024-09-10..09-12· [developer-experience]
links:none on file
slides:none on file

Argues that replacing ad hoc params with a structured JSON Schema–based Param class cuts duplicate DAG code, enforces types and range/length checks, and prevents wasted runs by rejecting bad inputs at trigger time; evaluates Pydantic and attrs then chooses JSON Schema for language-agnostic validators, easy serialization and backward compatibility with params dicts (rolled out around Airflow 2.x); shows concrete results: trigger UI now renders date pickers, dropdowns and inline validation, and API/CLI/serialization honor the same rules.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:06DAG params evolution and 2021 rework
  3. 3:51Problems with manual parameter validation
  4. 5:16Requirements for DAG params feature
  5. 8:06Evaluating Pydantic and ATTRs approaches
  6. 11:36Choosing JSON schema for DAG params
  7. 13:25DAG params launch and backward compatibility
  8. 15:53Trigger DAG UI improvements and contributors
  9. 17:19Modern DAG params features and UI enhancements
  10. 19:05Future possibilities and extensions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.