From 3f24e51d3b9f59dcded7f01f51dc5bec441c1c4c Mon Sep 17 00:00:00 2001 From: Galoshi Date: Thu, 28 Mar 2024 12:39:37 +0100 Subject: [PATCH] Removed unnecessary comments in RPC client --- source/rpc/client.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/rpc/client.py b/source/rpc/client.py index 97a4374..a08ebfe 100644 --- a/source/rpc/client.py +++ b/source/rpc/client.py @@ -58,13 +58,11 @@ def imagerProxy(self) -> ImagerProxy: def session(self) -> Session: if self.sessionProxy: return Session(sessionProxy=self.sessionProxy, device=self) - # return getattr(self, "_session") @property def edit(self) -> Edit: if self.editProxy: return Edit(editProxy=self.editProxy, device=self) - # return getattr(self, "_edit") else: raise AttributeError("No editProxy available! Please first create an editProxy " "with method self.device.session.requestOperatingMode(Mode=1) before using Edit!") @@ -73,13 +71,11 @@ def edit(self) -> Edit: def application(self) -> Application: if self.applicationProxy: return Application(applicationProxy=self.applicationProxy, device=self) - # return getattr(self, "_application") @property def imager(self) -> Imager: if self.imagerProxy: return Imager(imagerProxy=self.imagerProxy, device=self) - # return getattr(self, "_imager") def _getDeviceMeta(self): _deviceType = self.getParameter(value="DeviceType")