mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2026-04-18 13:33:31 +00:00
lint fixes
fix {DCA}.name setter
removed unused imports
patch bump
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import abc
|
||||
|
||||
from .errors import XAirRemoteError
|
||||
|
||||
|
||||
class IDCA(abc.ABC):
|
||||
"""Abstract Base Class for DCA groups"""
|
||||
@@ -50,7 +48,7 @@ class DCA(IDCA):
|
||||
|
||||
@name.setter
|
||||
def name(self, val: str):
|
||||
self.setter("config/name")[0]
|
||||
self.setter("config/name", val)
|
||||
|
||||
@property
|
||||
def color(self) -> int:
|
||||
|
||||
Reference in New Issue
Block a user