Skip to content

Commit

Permalink
refactor(pipeline): rename get_RCs to get_running_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 26, 2023
1 parent eff671c commit 65b05a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hyfi/pipeline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_pipes(self, task: Optional[TaskConfig] = None) -> Pipes:
pipes: Pipes = []
self.steps = self.steps or []
# Add pipes to the pipeline.
for rc in PIPELINEs.get_RCs(self.steps):
for rc in PIPELINEs.get_running_configs(self.steps):
# Add a pipe to the pipeline.
config = getattr(self, rc.uses, None)
if isinstance(config, dict):
Expand Down Expand Up @@ -180,7 +180,7 @@ def run_pipe(
return pipe_fn(obj, config)

@staticmethod
def get_RCs(steps: list) -> List[RunningConfig]:
def get_running_configs(steps: list) -> List[RunningConfig]:
"""
Parses and returns list of running configs
Expand Down

0 comments on commit 65b05a8

Please sign in to comment.