Compare commits

..

2 Commits

Author SHA1 Message Date
UpstreamData
fce4c07c32 bump version number 2022-08-25 15:34:28 -06:00
UpstreamData
094857758a update MinerData().as_influxdb() to include properties. 2022-08-25 15:34:04 -06:00
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ class MinerData:
return setattr(self, key, value)
def __iter__(self):
return iter([item for item in self.__dict__])
return iter([item for item in self.asdict()])
@property
def total_chips(self): # noqa - Skip PyCharm inspection

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyasic"
version = "0.16.7"
version = "0.16.8"
description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH."
authors = ["UpstreamData <brett@upstreamdata.ca>"]
repository = "https://github.com/UpstreamData/pyasic"