def _set_document(self, document): DataObject._set_document(self, document) self._sync_doc_to_graph()