If you trust this link, click it to continue.
https://stackoverflow.com/questions/55820079/typeerror-not-all-arguments-converted-during-string-formatting-psycopg2