Slide 39
Slide 39 text
Abstract Syntax Tree
from air
fl
ow.operators.empty import
EmptyOperator
EmptyOperator(task_id="child_task3")
% python -m ast example.py
Module(
body=[
ImportFrom(
module='air
fl
ow.operators.empty',
names=[
alias(name='EmptyOperator')],
level=0),
Expr(
value=Call(
func=Name(id='EmptyOperator', ctx=Load()),
args=[],
keywords=[
keyword(
arg='task_id',
value=Constant(value='child_task3'))]))],
type_ignores=[])
grepͰͰ͖ͳ͍͜ͱɺ੩తղੳͳΒղܾͰ͖Δ