def _get_automation_register()

in src/modules/get_cluster_status_db.py [0:0]


    def _get_automation_register(self) -> None:
        """
        Retrieves the value of the AUTOMATED_REGISTER attribute.
        """
        try:
            cmd_output = self.execute_command_subprocess(AUTOMATED_REGISTER).strip()
            self.result["AUTOMATED_REGISTER"] = ET.fromstring(cmd_output).get("value")
        except Exception:
            self.result["AUTOMATED_REGISTER"] = "unknown"