Skip to content

Avoid signature help including abstractvar#228

Merged
danielward27 merged 1 commit intomainfrom
better_signatures
Oct 19, 2025
Merged

Avoid signature help including abstractvar#228
danielward27 merged 1 commit intomainfrom
better_signatures

Conversation

@danielward27
Copy link
Owner

@danielward27 danielward27 commented Oct 19, 2025

If using an equinox AbstractVar implemented as a property, on an equinox Module with the default init, the signature hint wrongly includes the abstract variables, creating a confusing experience.

This pull request just changes from using properties to attributes in a few cases to avoid this issue.

@danielward27 danielward27 merged commit 3822de2 into main Oct 19, 2025
1 check passed
@danielward27 danielward27 deleted the better_signatures branch October 19, 2025 09:08
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.

1 participant