update MinerData().as_influxdb() to include properties.
This commit is contained in:
@@ -119,7 +119,7 @@ class MinerData:
|
|||||||
return setattr(self, key, value)
|
return setattr(self, key, value)
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
return iter([item for item in self.__dict__])
|
return iter([item for item in self.asdict()])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def total_chips(self): # noqa - Skip PyCharm inspection
|
def total_chips(self): # noqa - Skip PyCharm inspection
|
||||||
|
|||||||
Reference in New Issue
Block a user