MCPcopy Create free account
hub / github.com/feast-dev/feast / __init__

Method __init__

sdk/python/feast/infra/compute_engines/dag/node.py:13–19  ·  view source on GitHub ↗
(self, name: str, inputs: Optional[List["DAGNode"]] = None)

Source from the content-addressed store, hash-verified

11 outputs: List["DAGNode"]
12
13 def __init__(self, name: str, inputs: Optional[List["DAGNode"]] = None):
14 self.name = name
15 self.inputs: List["DAGNode"] = []
16 self.outputs: List["DAGNode"] = []
17
18 for node in inputs or []:
19 self.add_input(node)
20
21 def add_input(self, node: "DAGNode"):
22 if node in self.inputs:

Callers

nothing calls this directly

Calls 1

add_inputMethod · 0.95

Tested by

no test coverage detected