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

(cherry picked from commit 4aec25a)
  • Loading branch information
shivanshs9 authored and kaxil committed Aug 17, 2021
1 parent 17ee1bb commit a99ef5c
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 @@ -435,6 +435,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 a99ef5c

Please sign in to comment.