#1355 - Renamed the NodeType custom type in custom_typing.py as it clased with the NodeType enum in enums.py

This commit is contained in:
Chris McCarthy
2023-05-26 09:43:37 +01:00
parent 6245ad9298
commit 05ebd15053
4 changed files with 12 additions and 12 deletions

View File

@@ -4,5 +4,5 @@ from primaite.nodes.active_node import ActiveNode
from primaite.nodes.passive_node import PassiveNode
from primaite.nodes.service_node import ServiceNode
NodeType: Type = Union[ActiveNode, PassiveNode, ServiceNode]
NodeUnion: Type = Union[ActiveNode, PassiveNode, ServiceNode]
"""A Union of ActiveNode, PassiveNode, and ServiceNode."""