bittensor-cli 8.4.1__py3-none-any.whl → 8.4.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bittensor_cli/__init__.py CHANGED
@@ -18,6 +18,6 @@
18
18
  from .cli import CLIManager
19
19
 
20
20
 
21
- __version__ = "8.4.1"
21
+ __version__ = "8.4.2"
22
22
 
23
23
  __all__ = ["CLIManager", "__version__"]
bittensor_cli/cli.py CHANGED
@@ -58,7 +58,7 @@ except ImportError:
58
58
  pass
59
59
 
60
60
 
61
- __version__ = "8.4.1"
61
+ __version__ = "8.4.2"
62
62
 
63
63
 
64
64
  _core_version = re.match(r"^\d+\.\d+\.\d+", __version__).group(0)
@@ -229,7 +229,7 @@ async def get_childkey_take(subtensor, hotkey: str, netuid: int) -> Optional[int
229
229
  params=[hotkey, netuid],
230
230
  )
231
231
  if childkey_take_:
232
- return int(childkey_take_.value)
232
+ return int(childkey_take_)
233
233
 
234
234
  except SubstrateRequestException as e:
235
235
  err_console.print(f"Error querying ChildKeys: {format_error_message(e)}")
@@ -300,8 +300,8 @@ async def get_children(
300
300
  reuse_block_hash=True,
301
301
  )
302
302
  stake = (
303
- Balance.from_rao(_result.value)
304
- if getattr(_result, "value", None)
303
+ Balance.from_rao(_result)
304
+ if _result is not None
305
305
  else Balance(0)
306
306
  )
307
307
  if parent:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bittensor-cli
3
- Version: 8.4.1
3
+ Version: 8.4.2
4
4
  Summary: Bittensor CLI
5
5
  Home-page: https://github.com/opentensor/btcli
6
6
  Author: bittensor.com
@@ -1,5 +1,5 @@
1
- bittensor_cli/__init__.py,sha256=j3n_j0nQ-fdPqYmNd-D4fMTInfnsFcsaKeltpG2vMk0,1217
2
- bittensor_cli/cli.py,sha256=mpkvwSy-YpJN9HZGTetA-5m441p3DxvjrwH9nuOqzOA,170143
1
+ bittensor_cli/__init__.py,sha256=8MlFrDic7lbKUDE8550S3EM88o0lda03g6Cv4Lxe1Gc,1217
2
+ bittensor_cli/cli.py,sha256=pzWwiuiHGBOeZGZ72DQOrXKKVfPcP8MkHZR7L6keZXw,170143
3
3
  bittensor_cli/doc_generation_helper.py,sha256=GexqjEIKulWg84hpNBEchJ840oOgOi7DWpt447nsdNI,91
4
4
  bittensor_cli/src/__init__.py,sha256=LpTjd5p40H08K4IbyJCNdLJhEcb8NuWXOwl5kSNYwjI,12355
5
5
  bittensor_cli/src/bittensor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -22,10 +22,10 @@ bittensor_cli/src/commands/sudo.py,sha256=bP9t0QpXmqHnscEvCFHgJ4a7vETyqG1Kuc2CIV
22
22
  bittensor_cli/src/commands/wallets.py,sha256=BuPJiEDOpHuGRx3zekU2QkFQjFpCUP-Kdk4opS5YfWo,60678
23
23
  bittensor_cli/src/commands/weights.py,sha256=XHn0MLYUcEUtOkA_soIBJ5rqkpIliUVnyc4nzdPQslw,16276
24
24
  bittensor_cli/src/commands/stake/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
- bittensor_cli/src/commands/stake/children_hotkeys.py,sha256=IG2-WLW4ErueeM-EHbWJHY2IueEMz-wPOaAbMVbwRcc,28542
25
+ bittensor_cli/src/commands/stake/children_hotkeys.py,sha256=tpYr6bdit5YiOqTyBhqJIRgBX6phVw3eWvzYLrpRWeM,28518
26
26
  bittensor_cli/src/commands/stake/stake.py,sha256=7TyFtL5wnXvGvD-GckNrNTRdcu3RewAfx_JfEekugFU,56147
27
- bittensor_cli-8.4.1.dist-info/METADATA,sha256=VGBdVENpJOnWPnrBvCWFe_nsdWJpql6aEmammdNVyZ0,6786
28
- bittensor_cli-8.4.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
29
- bittensor_cli-8.4.1.dist-info/entry_points.txt,sha256=hBTLGLbVxmAKy69XSKaUZvjTCmyEzDGZKq4S8UOto8I,49
30
- bittensor_cli-8.4.1.dist-info/top_level.txt,sha256=DvgvXpmTtI_Q1BbDZMlK90LFcGFCreN1daViEPV2iFw,14
31
- bittensor_cli-8.4.1.dist-info/RECORD,,
27
+ bittensor_cli-8.4.2.dist-info/METADATA,sha256=plJ0n3g3G91Ta54cbama_ukynqCbeedSmqWsqogLqes,6786
28
+ bittensor_cli-8.4.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
29
+ bittensor_cli-8.4.2.dist-info/entry_points.txt,sha256=hBTLGLbVxmAKy69XSKaUZvjTCmyEzDGZKq4S8UOto8I,49
30
+ bittensor_cli-8.4.2.dist-info/top_level.txt,sha256=DvgvXpmTtI_Q1BbDZMlK90LFcGFCreN1daViEPV2iFw,14
31
+ bittensor_cli-8.4.2.dist-info/RECORD,,