Skip to content

fix: simplify AxonInfo.__eq__ method and add type check#3133

Merged
basfroman merged 5 commits intoopentensor:stagingfrom
DeVikingMark:fix/axon-info-eq-simplification
Nov 11, 2025
Merged

fix: simplify AxonInfo.__eq__ method and add type check#3133
basfroman merged 5 commits intoopentensor:stagingfrom
DeVikingMark:fix/axon-info-eq-simplification

Conversation

@DeVikingMark
Copy link

Simplifies the eq method by returning comparison result directly instead of using if-return True/False pattern.

Adds isinstance check to prevent AttributeError when comparing with non-AxonInfo objects.

basfroman and others added 4 commits October 8, 2025 10:47
* Use uv pip for e2e dependency installation (opentensor#3109)

* improve `subtensor.get_liquidity_list`

* update `test_liquidity` (non functional)

* add storage_keys

* fix unit tests

* apply default era.period to all extrinsics

* apply default era.period to all subtensor extrinsic calls

* fix *do tests

* replace sn0 owner keys

* Allow python 3.14 (opentensor#3122)

* 9.12.2: changelog + version (opentensor#3125)

changelog + version

---------

Co-authored-by: Roman Chkhaidze <basfroman@gmail.com>
Co-authored-by: Roman <167799377+basfroman@users.noreply.github.com>
@basfroman
Copy link
Collaborator

@thewhaleking thewhaleking changed the base branch from master to staging November 10, 2025 15:28
@basfroman basfroman merged commit 8362de7 into opentensor:staging Nov 11, 2025
229 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants