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 df6564b commit 432b503Copy full SHA for 432b503
bittensor/utils/subtensor.py
@@ -141,13 +141,13 @@ def get_subtensor_errors(
141
142
def format_parent(proportion, parent) -> Tuple[str, str]:
143
"""
144
- Formats raw parent data into a list of tuples.
145
- Args:
146
- parent: The raw parent data.
147
- proportion: proportion of parent data.
148
- Returns:
149
- list: List of (proportion, child_address) tuples.
150
- """
+ Formats raw parent data into a list of tuples.
+ Args:
+ parent: The raw parent data.
+ proportion: proportion of parent data.
+ Returns:
+ list: List of (proportion, child_address) tuples.
+ """
151
int_proportion = (
152
proportion.value if hasattr(proportion, "value") else int(proportion)
153
)
0 commit comments