Skip to content

typing(aggregation): Add type hint to (gramian_)weighting fields#651

Merged
ValerianRey merged 2 commits intomainfrom
add-missing-type-hints
Apr 16, 2026
Merged

typing(aggregation): Add type hint to (gramian_)weighting fields#651
ValerianRey merged 2 commits intomainfrom
add-missing-type-hints

Conversation

@ValerianRey
Copy link
Copy Markdown
Contributor

These types seem to not be inferred automatically by the type checker, so they're necessary in order to make setters on the aggregators that will affect the inner weighting too.

@ValerianRey ValerianRey added package: aggregation cc: typing Conventional commit type for improvements to typing. labels Apr 16, 2026
@ValerianRey ValerianRey self-assigned this Apr 16, 2026
@github-actions github-actions bot changed the title Add type hint to (gramian_)weighting fields typing(aggregation): Add type hint to (gramian_)weighting fields Apr 16, 2026
- This is needed in order to use the weighting as a type hint for a field of the aggregator
@ValerianRey ValerianRey force-pushed the add-missing-type-hints branch from 1f7c82b to eddd329 Compare April 16, 2026 15:53
@ValerianRey
Copy link
Copy Markdown
Contributor Author

Merging because we agreed on this. Feel free to tell me if you changed your mind @PierreQuinton

@ValerianRey ValerianRey merged commit d33cdf5 into main Apr 16, 2026
15 checks passed
@ValerianRey ValerianRey deleted the add-missing-type-hints branch April 16, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: typing Conventional commit type for improvements to typing. package: aggregation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant