We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b470d78 commit 04d4c42Copy full SHA for 04d4c42
bittensor/core/subtensor_api/__init__.py
@@ -88,7 +88,6 @@ def __init__(
88
89
# define empty fields
90
self.substrate = self._subtensor.substrate
91
- self.add_args = self._subtensor.add_args
92
self.chain_endpoint = self._subtensor.chain_endpoint
93
self.close = self._subtensor.close
94
self.config = self._subtensor.config
@@ -156,6 +155,10 @@ async def __aenter__(self):
156
155
async def __aexit__(self, exc_type, exc_val, exc_tb):
157
await self.substrate.close()
158
+ @classmethod
159
+ def add_args(cls, parser):
160
+ _Subtensor.add_args(parser)
161
+
162
@property
163
def block(self):
164
"""Returns current chain block number."""
0 commit comments