projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2963b0a
)
Add workflow method to ProcessingManager
author
vijeth-aradhya
<vijthaaa@gmail.com>
Sun, 4 Jun 2017 18:15:18 +0000
(23:45 +0530)
committer
vijeth-aradhya
<vijthaaa@gmail.com>
Sun, 4 Jun 2017 18:18:08 +0000
(23:48 +0530)
This method just raises NotImplementedError if the specific
media processing manager does not have a workflow method.
mediagoblin/processing/__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/processing/__init__.py
b/mediagoblin/processing/__init__.py
index 29345227d66c10e51954ba4f8d7451731ebc2322..7e05b242efcc6d20a508a31928135f7972ab244d 100644
(file)
--- a/
mediagoblin/processing/__init__.py
+++ b/
mediagoblin/processing/__init__.py
@@
-257,6
+257,13
@@
class ProcessingManager(object):
return processor
+ def workflow(self):
+ """
+ Returns the Celery command needed to proceed with media processing
+ *This method has to be implemented in all media types*
+ """
+ raise NotImplementedError
+
def request_from_args(args, which_args):
"""