From d3390c4391f18f4f1ac76557a98b106452baf295 Mon Sep 17 00:00:00 2001 From: vijeth-aradhya Date: Sun, 4 Jun 2017 23:45:18 +0530 Subject: [PATCH] Add workflow method to ProcessingManager This method just raises NotImplementedError if the specific media processing manager does not have a workflow method. --- mediagoblin/processing/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mediagoblin/processing/__init__.py b/mediagoblin/processing/__init__.py index 29345227..7e05b242 100644 --- 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): """ -- 2.25.1