bug: fix error with type hinting.
This commit is contained in:
@@ -256,7 +256,7 @@ class BaseMiner(ABC):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
async def get_hashboards(self, *args, **kwargs) -> list[HashBoard]:
|
async def get_hashboards(self, *args, **kwargs) -> List[HashBoard]:
|
||||||
"""Get hashboard data from the miner in the form of [`HashBoard`][pyasic.data.HashBoard].
|
"""Get hashboard data from the miner in the form of [`HashBoard`][pyasic.data.HashBoard].
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|||||||
Reference in New Issue
Block a user