(self, name: str, steps: List[TPipeStep] = None, parent: "Pipe" = None)
| 80 | |
| 81 | class Pipe(SupportsPipe): |
| 82 | def __init__(self, name: str, steps: List[TPipeStep] = None, parent: "Pipe" = None) -> None: |
| 83 | self.name = name |
| 84 | self._gen_idx = 0 |
| 85 | self._steps: List[TPipeStep] = [] |
| 86 | self.parent = parent |
| 87 | self.instance_id = uniq_id() |
| 88 | # add the steps, this will check and mod transformations |
| 89 | if steps: |
| 90 | for index, step in enumerate(steps): |
| 91 | self.insert_step(step, index) |
| 92 | |
| 93 | @classmethod |
| 94 | def from_data( |
nothing calls this directly
no test coverage detected