Skip to content

Commit

Permalink
Update Device.py
Browse files Browse the repository at this point in the history
adjust Device.py to be compatible with new device_name logic
  • Loading branch information
Marvmann authored Nov 6, 2023
1 parent b25dc7d commit 19e5837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/devices/Device.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ def __init__(self, device_name: str):
"""
Constructor method
"""
super().__init__()
super().__init__(device_name)

Check failure on line 28 in src/modules/devices/Device.py

View workflow job for this annotation

GitHub Actions / Pylint

src/modules/devices/Device.py#L28

Too many positional arguments for method call (too-many-function-args, E1121)
self.device = None
self.config = None
self.device_name = device_name
self.device_name = self.name

Check failure on line 31 in src/modules/devices/Device.py

View workflow job for this annotation

GitHub Actions / Pylint

src/modules/devices/Device.py#L31

Instance of 'Device' has no 'name' member (no-member, E1101)
self.config = None

def get_parameter_options(self) -> dict:
Expand Down

0 comments on commit 19e5837

Please sign in to comment.