diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-04-22 22:17:41 +0200 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-04-22 22:18:24 +0200 |
commit | e6bd03d429a523644513b1fb094521c2f6861973 (patch) | |
tree | 3201ed3d171c98e6b75000fee07006845c83e57a /mediagoblin/processing/__init__.py | |
parent | dc1ec36eb9a3bbe37a4dac2e94d4dae339ef0715 (diff) | |
download | mediagoblin-e6bd03d429a523644513b1fb094521c2f6861973.tar.lz mediagoblin-e6bd03d429a523644513b1fb094521c2f6861973.tar.xz mediagoblin-e6bd03d429a523644513b1fb094521c2f6861973.zip |
Doc string for ProcessingState.
Diffstat (limited to 'mediagoblin/processing/__init__.py')
-rw-r--r-- | mediagoblin/processing/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mediagoblin/processing/__init__.py b/mediagoblin/processing/__init__.py index a1fd3fb7..f3a85940 100644 --- a/mediagoblin/processing/__init__.py +++ b/mediagoblin/processing/__init__.py @@ -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 |