Kathara.parser.netkit.DepParser - KatharaFramework/Kathara GitHub Wiki
Class responsible for parsing the lab.dep file.
parse(path: str) → Optional[List[str]]
Parse the lab.dep file and return a List of string containing the names of the device ordered considering the dependencies.
Args:
-
path
(str): The path to the lab.dep file.
Returns:
-
Optional[List[str]]
: A List of string containing the names of the device ordered considering the dependencies.
Raises:
-
IOError
: If there is an error while opening lab.dep file. -
SyntaxError
: If there is a syntax error in lab.dep file. -
MachineDependencyError
: If there is a Machines dependency loop in lab.dep file.
This file was automatically generated via lazydocs.