def replace(self, data, pk_fields=None):
    if (not pk_fields):
        pk_fields = self._get_pk()
    self.conn.replace(self.table_obj, data, pk_fields, echo=False)
def replace(self, data, pk_fields=None):
    if (not pk_fields):
        pk_fields = self._get_pk()
    self.conn.replace(self.table_obj, data, pk_fields, echo=False)