QuackatronHQ / Gigarepo

Global variable is declared but not used PYL-W0602
Bug risk
Major
a month ago2 years old
Using global for 'user' but no assignment is done
 98
 99
100def get_active_users():
101    global user102    sqlalchemy.select([user.id, user.name]).where(
103        (user.org == "DeepSource") and (user.active == True)
104    )