from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal.Types import DataType
from ....Internal.ArgSingleList import ArgSingleList
from ....Internal.ArgSingle import ArgSingle
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class UnsetCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("unset", core, parent)
[docs]
def set(self, err_code: int, path: int) -> None:
"""
``TEST<HW>:SERRor:UNSet`` \n
Snippet: ``driver.test.serror.unset.set(err_code = 1, path = 1)`` \n
No help available
"""
param = ArgSingleList().compose_cmd_string(ArgSingle('err_code', err_code, DataType.Integer), ArgSingle('path', path, DataType.Integer))
self._core.io.write(f'TEST<HwInstance>:SERRor:UNSet {param}'.rstrip())