Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: recipe_engine/stream.py

Issue 2934583003: [step] Remove config indirection. (Closed)
Patch Set: fix test Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: recipe_engine/stream.py
diff --git a/recipe_engine/stream.py b/recipe_engine/stream.py
index 831e69b0e9bfab75ca31cbae0cfe30f152bf4f26..867cb1280504e864815587918ccb4b70109b9247 100644
--- a/recipe_engine/stream.py
+++ b/recipe_engine/stream.py
@@ -94,7 +94,7 @@ class StreamEngine(object):
def make_step_stream(self, name, **kwargs):
"""Shorthand for creating a step stream from a step configuration dict."""
kwargs['name'] = name
- return self.new_step_stream(recipe_api.StepConfig.create(**kwargs))
+ return self.new_step_stream(recipe_api.StepClient.StepConfig(**kwargs))
def new_step_stream(self, step_config):
"""Creates a new StepStream in this engine.
@@ -108,7 +108,7 @@ class StreamEngine(object):
i.e. parse -> re-emit.
Args:
- step_config (recipe_api.StepConfig): The step configuration.
+ step_config (recipe_api.StepCleint.StepConfig): The step configuration.
"""
raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698