Python Insert Dict Into Postgres Docker Compose