Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Starts Airflow task execution directly from the...
Search
Lee Wei
May 08, 2024
Technology
0
73
Starts Airflow task execution directly from the triggerer
Lee Wei
May 08, 2024
Tweet
Share
More Decks by Lee Wei
See All by Lee Wei
Unlocking Python's Core Magic
leew
1
200
Unleash the Chaos - Developing a Linter for Un-Pythonic Code!
leew
1
110
Intro to Airflow - From Zero to Hero
leew
0
830
Does Kobayashi-San write code vulnerable to SQL injection?
leew
0
85
Back to the last time we were here
leew
0
19
Atomic Commits - An Easy & Proven Way to Manage & Automate Release Process
leew
0
410
Python Table Manners @ Taichung.py
leew
0
330
Python Table Manners- Cut the Cookie Gracefully @ Hualien py
leew
0
190
小林的程式碼會不會遇到 SQL Injection
leew
1
110
Other Decks in Technology
See All in Technology
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
240
ゼロからわかる!!AWSの構成図を書いてみようワークショップ 問題&解答解説 #デッカイギ #羽田デッカイギおつ
_mossann_t
0
1.5k
30分でわかるデータ分析者のためのディメンショナルモデリング #datatechjp / 20250120
kazaneya
PRO
21
4.7k
EMConf JP の楽しみ方 / How to enjoy EMConf JP
pauli
2
140
自社 200 記事を元に整理した読みやすいテックブログを書くための Tips 集
masakihirose
2
310
新しいスケーリング則と学習理論
taiji_suzuki
10
3.8k
Goで実践するBFP
hiroyaterui
1
120
2025年に挑戦したいこと
molmolken
0
140
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
180
20241125 - AI 繪圖實戰魔法工作坊 @ 實踐大學
dpys
1
460
Git scrapingで始める継続的なデータ追跡 / Git Scraping
ohbarye
5
450
20250116_JAWS_Osaka
takuyay0ne
2
190
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
How GitHub (no longer) Works
holman
312
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
For a Future-Friendly Web
brad_frost
176
9.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
The Language of Interfaces
destraynor
155
24k
Site-Speed That Sticks
csswizardry
2
250
A better future with KSS
kneath
238
17k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Transcript
Starts Air fl ow task execution directly from the triggerer
$ cat weilee.py __name__ = 李唯 / Wei Lee __what_i_am_doing__
= [ Software Engineer @ Astronomer, Committer @ Apache Airflow, Volunteers @ PyCon Taiwan, Maintainer of commitizen-tools, ] __github__ = G Lee-W __linkedin__ = l clleew __site__ = p http://wei-lee.me
File "weilee.py", line 1 __name__ = 李唯 / Wei Lee
^^^ SyntaxError: invalid syntax $ python weilee.py
None
How did deferrable operators work before this change?
What has been changed?
What has been changed?
What it could be in the future
But why?
"execute" methods are not always needed This is the only
logic when deferrable is set to true and does not need to be executed in the worker.
How does it affect DAG authors? More ef fi cient
operators to come
How does it affect operator authors? A new way to
implement operators in an async manner
The Original Way
The New Way
How does it work under the hook?
How does it work under the hook?
How does it work under the hook?
Limitations • It is necessary to go back to workers
to run the next_method (e.g., "execute_complete") • This feature does not yet fully support MappedOperator.