Doc string for ProcessingState.

This commit is contained in:
Elrond 2013-04-22 22:17:41 +02:00
parent dc1ec36eb9
commit e6bd03d429

View File

@ -75,6 +75,14 @@ class FilenameBuilder(object):
class ProcessingState(object):
"""
The first and only argument to the "processor" of a media type
This could be thought of as a "request" to the processor
function. It has the main info for the request (media entry)
and a bunch of tools for the request on it.
It can get more fancy without impacting old media types.
"""
def __init__(self, entry):
self.entry = entry
self.workbench = None