Skip to content

Commit 480045e

Browse files
author
Roman
committed
rename import
1 parent b9ca6d6 commit 480045e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bittensor/core/subtensor_api/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from .metagraphs import Metagraphs as _Metagraphs
1010
from .neurons import Neurons as _Neurons
1111
from .queries import Queries as _Queries
12-
from .stakes import Stakes as _Stakes
12+
from .staking import Staking as _Staking
1313
from .subnets import Subnets as _Subnets
1414
from .utils import add_legacy_methods as _add_classic_fields
1515
from .wallets import Wallets as _Wallets
@@ -221,9 +221,9 @@ def queries(self):
221221
return _Queries(self._subtensor)
222222

223223
@property
224-
def stakes(self):
225-
"""Property to access stakes methods."""
226-
return _Stakes(self._subtensor)
224+
def staking(self):
225+
"""Property to access staking methods."""
226+
return _Staking(self._subtensor)
227227

228228
@property
229229
def subnets(self):

0 commit comments

Comments
 (0)