Skip to content

Commit

Permalink
fix(smart_sensor): Unbound variable errors (#14774)
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Saini <shivanshs9@gmail.com>

Closes #14770
  • Loading branch information
shivanshs9 committed Jun 23, 2021
1 parent 2ab2cbf commit 4aec25a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/sensors/smart_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ def mark_state(ti, sensor_instance):
TI = TaskInstance

count_marked = 0
query_result = []
try:
query_result = (
session.query(TI, SI)
Expand Down

0 comments on commit 4aec25a

Please sign in to comment.