djdb/search.py
def save(self, rpc=None):
        """Write all pending index data into the Datastore."""
        self._txn_objects_to_save.extend(self._matches.itervalues())
        # All of the objects in self._txn_objects_to_save are part of
        # the same entity group.  This ensures that db.save is an
        # atomic operation --- either all of the objects are
        # successfully saved or none are.
        kwargs = {}
        if rpc is not None:
            kwargs["rpc"] = rpc
        AutoRetry(db).save(self._txn_objects_to_save, **kwargs)
        self._matches = {}
        self._txn_objects_to_save
Write all pending index data into the Datastore.
Write all pending index data into the Datastore.
Write all pending index data into the Datastore .
def save(self, rpc=None):
        self._txn_objects_to_save.extend(self._matches.itervalues())
        kwargs = {}
        if rpc is not None:
            kwargs["rpc"] = rpc
        AutoRetry(db).save(self._txn_objects_to_save, **kwargs)
        self._matches = {}
        self._txn_objects_to_save
def save ( self , rpc = None ) : self . _txn_objects_to_save . extend ( self . _matches . itervalues ( ) ) kwargs = { } if rpc is not None : kwargs [ "rpc" ] = rpc AutoRetry ( db ) . save ( self . _txn_objects_to_save , ** kwargs ) self . _matches = { } self . _txn_objects_to_save
Write all pending index data into the Datastore.
Write all pending index data into the Datastore .
"""Write all pending index data into the Datastore.""" # All of the objects in self._txn_objects_to_save are part of # the same entity group.  This ensures that db.save is an # atomic operation --- either all of the objects are # successfully saved or none are.
self
rpc