Postgres Concatenate Variable In Python Definition In Coding