Skip to content

Commit

Permalink
Removed unnecessary comments in RPC client
Browse files Browse the repository at this point in the history
  • Loading branch information
Galoshi committed Mar 28, 2024
1 parent b07a070 commit 3f24e51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/rpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
Expand All @@ -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")
Expand Down

0 comments on commit 3f24e51

Please sign in to comment.