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
40
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
0
120
Unleash the Chaos - Developing a Linter for Un-Pythonic Code!
leew
0
70
Intro to Airflow - From Zero to Hero
leew
0
770
Does Kobayashi-San write code vulnerable to SQL injection?
leew
0
69
Back to the last time we were here
leew
0
10
Atomic Commits - An Easy & Proven Way to Manage & Automate Release Process
leew
0
380
Python Table Manners @ Taichung.py
leew
0
310
Python Table Manners- Cut the Cookie Gracefully @ Hualien py
leew
0
170
小林的程式碼會不會遇到 SQL Injection
leew
1
96
Other Decks in Technology
See All in Technology
小さな勉強会の始め方、広げ方、あるいは友達の作り方 / How to Start, Grow, and Build Connections with Small Study Groups
ar_tama
5
2.3k
Pythonを活用したLLMによる構造的データ生成の手法と実践
brainpadpr
3
280
分析者起点の企画を成功させた連携面の工夫
lycorptech_jp
PRO
1
240
つよつよリーダーが 抜けたらどうする? 〜ナビタイムのAgile⽀援組織の変遷〜
navitimejapan
PRO
22
13k
「ばん・さく・つき・たー!」にならないためにSHIROBAKOから 学んだこと
ysknsid25
3
630
LINEヤフー新卒採用 コーディングテスト解説 実装問題編
lycorp_recruit_jp
1
12k
Azure Verified Moduleを触って分かった注目ポイント/azure-verified-module-begin
mhrtech
1
320
Strict Concurrencyにしたらdeinitでクラッシュする話
0si43
0
120
【shownet.conf_】ShowNet x 宇宙ネットワーク
shownet
PRO
0
380
OPENLOGI Company Profile for engineer
hr01
1
12k
Webセキュリティのあるきかた
akiym
25
8.4k
【shownet.conf_】ShowNet 2024 ~ Inter * Network ~
shownet
PRO
0
480
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Gamification - CAS2011
davidbonilla
80
5k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.5k
GraphQLとの向き合い方2022年版
quramy
43
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Creatively Recalculating Your Daily Design Routine
revolveconf
217
12k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
30
2.6k
The Cult of Friendly URLs
andyhume
77
6k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.1k
For a Future-Friendly Web
brad_frost
174
9.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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.