rac_es/documents.py
def prepare_streaming_dict(self, identifier, op_type="index"):
        """Prepares DescriptionComponent for bulk indexing.

        Executes custom save methods which would not otherwise be called when
        data is passed to a bulk method.

        :returns: an object ready to be indexed.
        :rtype: dict
        """
        self.meta.id = identifier
        doc = self.to_dict(True)
        doc["_op_type"] = op_type
        return doc
Prepares DescriptionComponent for bulk indexing.

        Executes custom save methods which would not otherwise be called when
        data is passed to a bulk method.

        :returns: an object ready to be indexed.
        :rtype: dict
        
Prepares DescriptionComponent for bulk indexing.
Executes custom save methods which would not otherwise be called when
data is passed to a bulk method.
Prepares DescriptionComponent for bulk indexing . Executes custom save methods which would not otherwise be called when data is passed to a bulk method .
def prepare_streaming_dict(self, identifier, op_type="index"):
        self.meta.id = identifier
        doc = self.to_dict(True)
        doc["_op_type"] = op_type
        return doc
def prepare_streaming_dict ( self , identifier , op_type = "index" ) : self . meta . id = identifier doc = self . to_dict ( True ) doc [ "_op_type" ] = op_type return doc
Prepares DescriptionComponent for bulk indexing.
Prepares DescriptionComponent for bulk indexing .
"""Prepares DescriptionComponent for bulk indexing.

        Executes custom save methods which would not otherwise be called when
        data is passed to a bulk method.

        :returns: an object ready to be indexed.
        :rtype: dict
        """
an object ready to be indexed.
an object ready to be indexed .
dict
self
identifier
op_type