bug: fix error with type hinting.

This commit is contained in:
UpstreamData
2023-05-16 13:21:39 -06:00
parent 83a4f86e15
commit 3257af975a

View File

@@ -256,7 +256,7 @@ class BaseMiner(ABC):
pass
@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].
Returns: