(self, **override_kwargs)
| 368 | return instantiate(self.node_cls, name=name, **final_config) # type: ignore |
| 369 | |
| 370 | def clone(self, **override_kwargs) -> 'NodeTemplate[T]': |
| 371 | new_prototype_config = _safe_clone(self.prototype_config) |
| 372 | new_prototype_config.update(_safe_clone(override_kwargs)) |
| 373 | |
| 374 | return type(self)( |
| 375 | node_cls=self.node_cls, |
| 376 | **new_prototype_config |
| 377 | ) |
| 378 | |
| 379 | |
| 380 | __all__ = [ |
no test coverage detected