MCPcopy
hub / github.com/dlt-hub/dlt / __init__

Method __init__

dlt/extract/pipe.py:82–91  ·  view source on GitHub ↗
(self, name: str, steps: List[TPipeStep] = None, parent: "Pipe" = None)

Source from the content-addressed store, hash-verified

80
81class 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(

Callers

nothing calls this directly

Calls 2

insert_stepMethod · 0.95
uniq_idFunction · 0.90

Tested by

no test coverage detected