def Init(self,uScriptName,uScriptFile=u''): """ Init function for the script :param string uScriptName: The name of the script (to be passed to all scripts) :param uScriptFile: The file of the script (to be passed to all scripts) """ cDiscoverScriptTemplate.Init(self, uScriptName, uScriptFile) self.oScriptConfig.dDefaultSettings['TimeOut']['active'] = "enabled"
def Init(self, uObjectName: str, oFnScript: Union[cFileName, None] = None) -> None: """ Init function for the script :param str uObjectName: The name of the script (to be passed to all scripts) :param cFileName oFnScript: The file of the script (to be passed to all scripts) """ cDiscoverScriptTemplate.Init(self, uObjectName, oFnScript) self.oObjectConfig.dDefaultSettings['TimeOut']['active'] = "enabled"
def Init(self, uScriptName, uScriptFile=u''): cDiscoverScriptTemplate.Init(self, uScriptName, uScriptFile) self.oScriptConfig.dDefaultSettings['TimeOut']['active'] = "enabled"