I am trying to run the following code block:
conn = psycopg2.connect(**params) curr = conn.cursor() try: ##Writing update on Audit Table## if n_row > 0