Add typehints

This commit is contained in:
Marek Wolan
2023-07-14 14:43:47 +01:00
parent c2931bde6c
commit 31fedb945e
6 changed files with 8 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ class Node:
priority: Priority,
hardware_state: HardwareState,
config_values: TrainingConfig,
):
) -> None:
"""
Initialise a node.

View File

@@ -18,7 +18,7 @@ class NodeStateInstructionGreen(object):
_node_pol_type: "NodePOLType",
_service_name: str,
_state: Union["HardwareState", "SoftwareState", "FileSystemState"],
):
) -> None:
"""
Initialise the Node State Instruction.