Postgres Call Function From Another Python Programming