MCPcopy Create free account
hub / github.com/dagger/dagger / add_child

Method add_child

sdk/python/src/dagger/client/_core.py:92–93  ·  view source on GitHub ↗
(self, child: "Field")

Source from the content-addressed store, hash-verified

90 return field_
91
92 def add_child(self, child: "Field") -> "Field":
93 return dataclasses.replace(self, children={child.name: child})
94
95
96@dataclasses.dataclass(slots=True)

Callers 1

_collapseMethod · 0.80

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected