what's the variable scope in Flask?