class documentation

class IFeedStorage(Interface):

View In Hierarchy

Interface that all Feed Storages must implement
Method __init__ Initialize the storage with the parameters given in the URI and the feed-specific options (see :setting:`FEEDS`)
Method open Open the storage for the given spider. It must return a file-like object that will be used for the exporters
Method store Store the given file stream
def __init__(uri, *, feed_options=None):
Initialize the storage with the parameters given in the URI and the feed-specific options (see :setting:`FEEDS`)
def open(spider):
Open the storage for the given spider. It must return a file-like object that will be used for the exporters
def store(file):
Store the given file stream