Skip to content

Conversation

@dhruvak001
Copy link
Contributor

Currently. using [Any] also disables type checking, making it harder to catch type-related errors. Updated the type annotation in [dataset_variables.py] to use instead of [Any], making it consistent with hashables.

@dcherian dcherian merged commit d42c464 into pydata:main Dec 2, 2025
37 checks passed
jsignell pushed a commit to jsignell/xarray that referenced this pull request Dec 2, 2025
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.

dataset.data_vars.keys() returns KeysView[Any]

2 participants