class documentation

class EmptyBlobSource(BaseBlobSource):

Constructor: EmptyBlobSource()

View In Hierarchy

A BaseBlobSource for empty blobs.

This blob type is used for emptying ("soft deleting") blobs.

Method __init__ The default constructor.
Method get_blob Return a blob.
Method get_size Get the size of a blob from this factory.
def __init__(self):

The default constructor.

def get_blob(self):

Return a blob.

Returns
BaseBloba fresh instance of a subclass of BaseBlob
def get_size(self):

Get the size of a blob from this factory.

The default implementation instantiates a new blob using BaseBlobSource.get_blob and calls BaseBlob.get_size. Subclasses may overwrite this method for a more efficient implementation.

Please See BaseBlob.get_size for details.

Returns
intthe size of a blob in byzes