issue_comments: 1137623370
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/6142#issuecomment-1137623370 | https://api.github.com/repos/pydata/xarray/issues/6142 | 1137623370 | IC_kwDOAMm_X85DzsFK | 43316012 | 2022-05-25T17:40:16Z | 2022-05-25T17:40:16Z | COLLABORATOR | I have encountered another problem that is related to this:
So I tried to overload this: ```python @overload def argmin( self, dim: Hashable, *, axis: int | None = None, keep_attrs: bool | None = None, skipna: bool | None = None, ) -> DataArray: ...
``` but mypy complains:
I suspect that this is due to the fact that None is actually Hashable and therefore a valid dimension. Unfortunately, using this proposal of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1094725752 |