Update get_data to us get_some_data sub functions. (#27)
This commit is contained in:
@@ -18,6 +18,4 @@ from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
|
||||
|
||||
class CGMinerAvalon721(CGMinerA7X, Avalon721):
|
||||
def __init__(self, ip: str, api_ver: str = "1.0.0") -> None:
|
||||
super().__init__(ip, api_ver=api_ver)
|
||||
self.ip = ip
|
||||
pass
|
||||
|
||||
@@ -18,6 +18,4 @@ from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
|
||||
|
||||
class CGMinerAvalon741(CGMinerA7X, Avalon741):
|
||||
def __init__(self, ip: str, api_ver: str = "1.0.0") -> None:
|
||||
super().__init__(ip, api_ver=api_ver)
|
||||
self.ip = ip
|
||||
pass
|
||||
|
||||
@@ -18,6 +18,4 @@ from .A7X import CGMinerA7X # noqa - Ignore access to _module
|
||||
|
||||
|
||||
class CGMinerAvalon761(CGMinerA7X, Avalon761):
|
||||
def __init__(self, ip: str, api_ver: str = "1.0.0") -> None:
|
||||
super().__init__(ip, api_ver=api_ver)
|
||||
self.ip = ip
|
||||
pass
|
||||
|
||||
@@ -17,6 +17,4 @@ from pyasic.miners._backends import CGMinerAvalon # noqa - Ignore access to _mo
|
||||
|
||||
|
||||
class CGMinerA7X(CGMinerAvalon):
|
||||
def __init__(self, ip: str, api_ver: str = "1.0.0") -> None:
|
||||
super().__init__(ip, api_ver=api_ver)
|
||||
self.ip = ip
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user