Add workflow method to ProcessingManager

This method just raises NotImplementedError if the specific
media processing manager does not have a workflow method.
This commit is contained in:
vijeth-aradhya 2017-06-04 23:45:18 +05:30
parent 2963b0a182
commit d3390c4391

View File

@ -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):
"""