Python Class Run Function Sql Example Update Query In Postgresql