Skip to content

Commit 41dad80

Browse files
committed
Refactor file processing to primarily happen through a single pipeline.
1 parent 6e3a1ef commit 41dad80

File tree

17 files changed

+1698
-1037
lines changed

17 files changed

+1698
-1037
lines changed

ricecooker/chefs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from .utils.youtube import YouTubePlaylistUtils
3333
from .utils.youtube import YouTubeVideoUtils
3434
from ricecooker.utils.images import convert_image
35+
from ricecooker.utils.pipeline import FilePipeline
3536

3637

3738
# SUSHI CHEF BASE CLASS
@@ -491,6 +492,7 @@ def run(self, args, options):
491492
self.CHEF_RUN_DATA["current_run"] = run_id
492493
self.CHEF_RUN_DATA["runs"].append({"id": run_id})
493494

495+
self.file_pipeline = FilePipeline()
494496
# TODO(Kevin): move self.download_content() call here
495497
self.pre_run(args, options)
496498
uploadchannel_wrapper(self, args, options)

0 commit comments

Comments
 (0)