(self, doc, eval_context=None)
Does a best-effort save of the document. Will fail silently if the save is not successful.

        For certain known, expected errors this will do no additional logging.
        For unexpected errors it will log them.
Does a best-effort save of the document. Will fail silently if the save is not successful.
Does a best - effort save of the document . Will fail silently if the save is not successful .
def best_effort_save(self, doc, eval_context=None):
        """
        Does a best-effort save of the document. Will fail silently if the save is not successful.

        For certain known, expected errors this will do no additional logging.
        For unexpected errors it will log them.
        """
        try:
            indicator_rows = self.get_all_values(doc, eval_context)
        except Exception as e:
            self.handle_exception(doc, e)
        else:
            self._best_effort_save_rows(indicator_rows, doc)
def best_effort_save ( self , doc , eval_context = None ) : try : indicator_rows = self . get_all_values ( doc , eval_context ) except Exception as e : self . handle_exception ( doc , e ) else : self . _best_effort_save_rows ( indicator_rows , doc )