File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ def get_hash(content, encoding="utf-8"):
249249 Args:
250250 content: The input data to hash. Can be bytes or a string.
251251 encoding: The character encoding to use when the content is a string.
252- Defaults to `` "utf-8"` `.
252+ Defaults to `"utf-8"`.
253253
254254 Returns:
255255 The hex-encoded SHA-256 digest string.
@@ -487,11 +487,11 @@ def determine_chain_endpoint_and_network(
487487 """Determines the chain endpoint and network from the passed network or chain_endpoint.
488488
489489 Parameters:
490- network: The network flag. The choices are: `` finney`` (main network), `` archive` ` (archive network +300 blocks),
491- `` local`` (local running network), `` test` ` (test network).
490+ network: The network flag. The choices are: `finney` (main network), `archive` (archive network +300 blocks),
491+ `local` (local running network), `test` (test network).
492492
493493 Returns:
494- The network and chain endpoint flag. If passed, overrides the `` network` ` argument.
494+ The network and chain endpoint flag. If passed, overrides the `network` argument.
495495 """
496496
497497 if network is None :
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def calculate_fees(
140140
141141 Args:
142142 position: A dictionary describing the liquidity position, must contain
143- `` "liquidity"`` , `` "fees_owed_tao"`` , and `` "fees_owed_alpha"` ` keys.
143+ `"liquidity"`, `"fees_owed_tao"`, and `"fees_owed_alpha"` keys.
144144 global_fees_tao: The global TAO fee accumulator value.
145145 global_fees_alpha: The global Alpha fee accumulator value.
146146 tao_fees_below_low: TAO fees accumulated below the position's lower tick.
@@ -150,7 +150,7 @@ def calculate_fees(
150150 netuid: The subnet identifier used for Balance unit tagging.
151151
152152 Returns:
153- A tuple of `` (tao_fees, alpha_fees)` ` as :class:`Balance` instances.
153+ A tuple of `(tao_fees, alpha_fees)` as :class:`Balance` instances.
154154 """
155155 fee_tao_agg = get_fees_in_range (
156156 quote = True ,
You can’t perform that action at this time.
0 commit comments