@@ -653,7 +653,9 @@ async def bonds(
653
653
654
654
return b_map
655
655
656
- async def commit (self , wallet : "Wallet" , netuid : int , data : str , period : Optional [int ] = None ) -> bool :
656
+ async def commit (
657
+ self , wallet : "Wallet" , netuid : int , data : str , period : Optional [int ] = None
658
+ ) -> bool :
657
659
"""
658
660
Commits arbitrary data to the Bittensor network by publishing metadata.
659
661
@@ -2856,7 +2858,7 @@ async def set_reveal_commitment(
2856
2858
data : str ,
2857
2859
blocks_until_reveal : int = 360 ,
2858
2860
block_time : Union [int , float ] = 12 ,
2859
- period : Optional [int ] = None
2861
+ period : Optional [int ] = None ,
2860
2862
) -> tuple [bool , int ]:
2861
2863
"""
2862
2864
Commits arbitrary data to the Bittensor network by publishing metadata.
@@ -2891,7 +2893,7 @@ async def set_reveal_commitment(
2891
2893
netuid = netuid ,
2892
2894
data_type = f"TimelockEncrypted" ,
2893
2895
data = data_ ,
2894
- period = period
2896
+ period = period ,
2895
2897
), reveal_round
2896
2898
2897
2899
async def subnet (
@@ -3442,7 +3444,7 @@ async def burned_register(
3442
3444
netuid = netuid ,
3443
3445
wait_for_inclusion = wait_for_inclusion ,
3444
3446
wait_for_finalization = wait_for_finalization ,
3445
- period = period
3447
+ period = period ,
3446
3448
)
3447
3449
3448
3450
async def commit_weights (
@@ -3944,7 +3946,7 @@ async def set_delegate_take(
3944
3946
wait_for_finalization = wait_for_finalization ,
3945
3947
wait_for_inclusion = wait_for_inclusion ,
3946
3948
raise_error = raise_error ,
3947
- period = period
3949
+ period = period ,
3948
3950
)
3949
3951
else :
3950
3952
success , error = await decrease_take_extrinsic (
@@ -3955,7 +3957,7 @@ async def set_delegate_take(
3955
3957
wait_for_finalization = wait_for_finalization ,
3956
3958
wait_for_inclusion = wait_for_inclusion ,
3957
3959
raise_error = raise_error ,
3958
- period = period
3960
+ period = period ,
3959
3961
)
3960
3962
3961
3963
if success :
@@ -4263,7 +4265,7 @@ async def swap_stake(
4263
4265
safe_staking = safe_staking ,
4264
4266
allow_partial_stake = allow_partial_stake ,
4265
4267
rate_tolerance = rate_tolerance ,
4266
- period = period
4268
+ period = period ,
4267
4269
)
4268
4270
4269
4271
async def transfer (
0 commit comments