Skip to content

Conversation

@cmp0xff
Copy link
Contributor

@cmp0xff cmp0xff commented Dec 9, 2025

Towards #1522, which is too big.

dict, Mapping etc. have no default value for the arguments. Replacing all such typing annotations with dict[Hashable,something] etc., so that pyright_strict is happier.

@cmp0xff cmp0xff marked this pull request as draft December 9, 2025 11:35
@cmp0xff cmp0xff marked this pull request as ready for review December 9, 2025 16:02
values: _PivotTableValuesTypes = None,
index: _PivotTableIndexTypes = None,
columns: _PivotTableColumnsTypes = None,
values: _PivotTableValuesTypes[
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we open an issue for that one on ty ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, astral-sh/ty#1846

Copy link
Member

@loicdiridollou loicdiridollou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one minor thing about the ty issue, please check that but will go ahead and merge.

@loicdiridollou loicdiridollou merged commit ffa2396 into pandas-dev:main Dec 10, 2025
16 checks passed
@cmp0xff cmp0xff deleted the feature/dict branch December 10, 2025 20:22
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.

2 participants