how handle a variable if it's returning none
how handle a variable if it's returning none Question: Hi I have the following function to get sql from my template. variable row is fetching the query which is input by the user. If the user input an invalid sql am getting an error as UnboundLocalError: local variable ‘row’ referenced before assignment (Because row is …