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
91
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
20250316 踏入開源的第一步
leew
0
110
Unleash the Chaos - Developing a Linter for Un-Pythonic Code!
leew
0
49
Unlocking Python's Core Magic
leew
1
220
Unleash the Chaos - Developing a Linter for Un-Pythonic Code!
leew
1
140
Intro to Airflow - From Zero to Hero
leew
0
890
Does Kobayashi-San write code vulnerable to SQL injection?
leew
0
98
Back to the last time we were here
leew
0
27
Atomic Commits - An Easy & Proven Way to Manage & Automate Release Process
leew
0
430
Python Table Manners @ Taichung.py
leew
0
350
Other Decks in Technology
See All in Technology
RubyKaigi 2025でプロポーザルが初めて採択されるまでにやったこと
yuuu
1
100
プロダクトの一番の理解者を目指してQAが取り組んでいること 〜現場・マネジメント各視点のプラクティス〜
hacomono
PRO
1
140
エンジニアリング 💰Moneyジャー / Engineering Money-ger
kenchan
2
410
OPENLOGI Company Profile
hr01
0
61k
Go Modulesの仕組み Bundler(Ruby)との比較を添えて
daisuketakeda
0
1.8k
技術的負債を正しく理解し、正しく付き合う #phperkaigi / PHPerKaigi 2025
shogogg
0
390
大人の学び - マイクの持ち方について
kawaguti
PRO
3
650
もうVPNは古い? VPNを使わずに オンプレサーバーを 管理する手法あれこれ
ebibibi
0
150
VPoEの引き継ぎでやったこと、わかったこと
saitoryc
2
1.1k
【ServiceNow SNUG Meetup LT deck】ServiceNow「検索性の進化」ZingからNow Assistまで
niwato
0
190
我々に残された仕事はあるのか?
taishiyade
0
160
Agent Mode とは?GitHub Copilot の新機能を探る
lescoggi
1
150
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
290
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Git: the NoSQL Database
bkeepers
PRO
429
65k
A designer walks into a library…
pauljervisheath
205
24k
Visualization
eitanlees
146
15k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.4k
Testing 201, or: Great Expectations
jmmastey
42
7.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
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.