Replace child nodes on original function call with their partials
(self)
| 127 | return state_partial(self.data["func"], *ba.args[1:], **ba.kwargs) |
| 128 | |
| 129 | def update_child_calls(self): |
| 130 | """Replace child nodes on original function call with their partials""" |
| 131 | |
| 132 | for node in filter(lambda n: len(n.arg_name), self.child_list): |
| 133 | self.data["bound_args"].arguments[node.arg_name] = node.partial() |
| 134 | self.updated = True |
| 135 | |
| 136 | def remove_child(self, node): |
| 137 | index = self.child_list.index(node) |