MCPcopy Create free account
hub / github.com/datapane/datapane / pipe

Method pipe

python-client/src/datapane/processors/types.py:55–59  ·  view source on GitHub ↗
(self, p: BaseProcessor[P_IN, P_OUT])

Source from the content-addressed store, hash-verified

53 self._x = x
54
55 def pipe(self, p: BaseProcessor[P_IN, P_OUT]) -> Pipeline[P_OUT]:
56 p.s = self._state
57 y = p.__call__(self._x) # need to call as positional args
58 self._state = p.s
59 return Pipeline(self._state, y)
60
61 @property
62 def state(self) -> ViewState:

Callers 5

build_reportFunction · 0.80
save_reportFunction · 0.80
stringify_reportFunction · 0.80
element_to_strFunction · 0.80
_view_to_xml_and_filesFunction · 0.80

Calls 2

PipelineClass · 0.85
__call__Method · 0.45

Tested by 2

element_to_strFunction · 0.64
_view_to_xml_and_filesFunction · 0.64