mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2026-04-18 13:33:31 +00:00
upd decorator func names
This commit is contained in:
@@ -90,12 +90,12 @@ class Config(IConfig):
|
||||
return f"{root}/solo"
|
||||
|
||||
@property
|
||||
@util.from_db
|
||||
@util.db_from
|
||||
def level(self) -> float:
|
||||
return self.getter("level")[0]
|
||||
|
||||
@level.setter
|
||||
@util.to_db
|
||||
@util.db_to
|
||||
def level(self, val: float):
|
||||
self.setter("level", val)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user