* feature: fix influxdb data. * bug: fix an issue with some avalon stats parsing. * bug: add chip count for 1166 Pro. * bug: fix some issues with bosminer scanning and some data bugs. * bug: remove print statement. * bug: fix failed data gathering multicommand via graphql. * feature: add partial support for M50S+VK20 * version: bump version number. * bug: add chip count for M50S+VK20. * version: bump version number. * bug: attempt to fix offset check issue on BOS+. * bug: fix NoneType subscription on BOS+. * bug: add support for Vnish S17+. * bug: remove web references for Avalons. * bug: add support for VNish S17Pro. * bug: Try secondary identification method for antminers. * feature: fix a bunch of functionality for avalonminers. * bug: fix avalonminer fan speed being set as str. * bug: fix fans speeds being represented as strings. * bug: fix some get_fan formatting. * docs: update supported miners list, and fix A10X model name. * docs: update MinerData docstrings. * docs: update factory documentation.
29 lines
806 B
Markdown
29 lines
806 B
Markdown
# pyasic
|
|
## Miner Factory
|
|
|
|
::: pyasic.miners.miner_factory.MinerFactory
|
|
handler: python
|
|
options:
|
|
show_root_heading: false
|
|
heading_level: 4
|
|
<br>
|
|
|
|
## Get Miner
|
|
::: pyasic.miners.get_miner
|
|
handler: python
|
|
options:
|
|
show_root_heading: false
|
|
heading_level: 4
|
|
<br>
|
|
|
|
## AnyMiner
|
|
::: pyasic.miners.miner_factory.AnyMiner
|
|
handler: python
|
|
options:
|
|
show_root_heading: false
|
|
heading_level: 4
|
|
|
|
[`AnyMiner`][pyasic.miners.miner_factory.AnyMiner] is a placeholder type variable used for typing returns of functions.
|
|
A function returning [`AnyMiner`][pyasic.miners.miner_factory.AnyMiner] will always return a subclass of [`BaseMiner`][pyasic.miners.BaseMiner],
|
|
and is used to specify a function returning some arbitrary type of miner class instance.
|