rename identifier back to type

This commit is contained in:
Marek Wolan
2024-10-02 14:24:59 +01:00
parent a838cc6ce1
commit 5fde945fac

View File

@@ -40,7 +40,7 @@ class NetworkNodeAdder(BaseModel):
by the from_config method to select the correct node adder at runtime.
"""
identifier: str
type: str
"""Uniquely identifies the node adder class to use for adding nodes to network."""
_registry: ClassVar[Dict[str, Type["NetworkNodeAdder"]]] = {}