From 309b7092f38730f819aba14d64e2257475fd1ff2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 08:26:01 +0000 Subject: [PATCH 1/2] Initial plan From 05291f00199e5f54b01fa106d5f47aa3556257a6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 08:29:09 +0000 Subject: [PATCH 2/2] Fix variable reassignment bug in SYSBackendMethod handling Co-authored-by: clauspruefer <17313789+clauspruefer@users.noreply.github.com> --- src/microesb.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/microesb.py b/src/microesb.py index 9ccf4c4..1229bf5 100644 --- a/src/microesb.py +++ b/src/microesb.py @@ -583,15 +583,17 @@ def __init__(self, *, class_mapper, service_call_data): self.logger.debug('SYSBackendMethod:{}'.format(bm_root)) bm_class_id, bm_method = next(iter(bm_root.items())) + backend_class_id = bm_class_id + class_properties_id = bm_class_id try: - bm_class_id = class_references[bm_class_id]['property_ref'] + class_properties_id = class_references[bm_class_id]['property_ref'] except KeyError as e: self.logger.debug( 'BackendMethod no class_ref:{} exception:{}'.format(bm_class_id, e) ) - if bm_method in class_properties[bm_class_id]['methods']: - getattr(getattr(self._class_mapper, bm_class_id), bm_method)() + if bm_method in class_properties[class_properties_id]['methods']: + getattr(getattr(self._class_mapper, backend_class_id), bm_method)() def _map( self,