grr/server/grr_response_server/blob_store.py
def WriteBlobsWithUnknownHashes(self, blobs_data):
    """Calculates hash ids and writes contents of given data blobs.

    Args:
      blobs_data: An iterable of bytes.

    Returns:
      A list of rdf_objects.BlobID objects with each blob id corresponding
      to an element in the original blobs_data argument.
    """
    blobs_ids = [rdf_objects.BlobID.FromBlobData(d) for d in blobs_data]
    self.WriteBlobs(dict(zip(blobs_ids, blobs_data)))
    return blobs_ids
Calculates hash ids and writes contents of given data blobs.

    Args:
      blobs_data: An iterable of bytes.

    Returns:
      A list of rdf_objects.BlobID objects with each blob id corresponding
      to an element in the original blobs_data argument.
    
Calculates hash ids and writes contents of given data blobs.
Calculates hash ids and writes contents of given data blobs .
def WriteBlobsWithUnknownHashes(self, blobs_data):
    blobs_ids = [rdf_objects.BlobID.FromBlobData(d) for d in blobs_data]
    self.WriteBlobs(dict(zip(blobs_ids, blobs_data)))
    return blobs_ids
def WriteBlobsWithUnknownHashes ( self , blobs_data ) : blobs_ids = [ rdf_objects . BlobID . FromBlobData ( d ) for d in blobs_data ] self . WriteBlobs ( dict ( zip ( blobs_ids , blobs_data ) ) ) return blobs_ids
Calculates hash ids and writes contents of given data blobs.
Calculates hash ids and writes contents of given data blobs .
"""Calculates hash ids and writes contents of given data blobs.

    Args:
      blobs_data: An iterable of bytes.

    Returns:
      A list of rdf_objects.BlobID objects with each blob id corresponding
      to an element in the original blobs_data argument.
    """
A list of rdf_objects.BlobID objects with each blob id corresponding
to an element in the original blobs_data argument.
A list of rdf_objects . BlobID objects with each blob id corresponding to an element in the original blobs_data argument .
self
blobs_data
An iterable of bytes.
An iterable of bytes .