Skip to content

Commit

Permalink
Update example_variables.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanavu committed Feb 17, 2019
1 parent 796fee4 commit d5eac3a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/intro-example/dags/example_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# var2 = [1, 2, 3]
# var3 = {'k': 'value3'}

## Better
## 3 DB connections called
# var1 = Variable.get("var1")
# var2 = Variable.get("var2")
# var3 = Variable.get("var3")
Expand All @@ -35,10 +35,6 @@
var2 = dag_config["var2"]
var3 = dag_config["var3"]

# print (type(var1))
# print (type(var2))
# print (type(var3))

start = DummyOperator(
task_id="start",
dag=dag
Expand Down

0 comments on commit d5eac3a

Please sign in to comment.