(name: str)
| 68 | |
| 69 | |
| 70 | def get_node_registration(name: str) -> NodeRegistration: |
| 71 | _ensure_builtins_loaded() |
| 72 | entry: RegistryEntry = node_registry.get(name) |
| 73 | registration = entry.load() |
| 74 | if not isinstance(registration, NodeRegistration): |
| 75 | raise RegistryError(f"Registry entry '{name}' is not a NodeRegistration") |
| 76 | return registration |
| 77 | |
| 78 | |
| 79 | def iter_node_registrations() -> Dict[str, NodeRegistration]: |
no test coverage detected