Skip to content

Commit 97a1d15

Browse files
committed
Refactor file processing to primarily happen through a single pipeline.
1 parent ac435db commit 97a1d15

File tree

17 files changed

+1678
-1027
lines changed

17 files changed

+1678
-1027
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
@@ -492,6 +493,7 @@ def run(self, args, options):
492493
self.CHEF_RUN_DATA["current_run"] = run_id
493494
self.CHEF_RUN_DATA["runs"].append({"id": run_id})
494495

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

0 commit comments

Comments
 (0)