pull_requests: 1520026436
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1520026436 | PR_kwDOAMm_X85amcNE | 8203 | closed | 0 | Add T_DuckArray type hint to Variable.data | 14371165 | The typing of Variable.data has been the very wide `Variable.data: Any` because of the difficulties defining the typing of a duckarray. This has led to confusion in downstream functions that uses `.data`. Sometimes arguments uses Any, np.typing.ArrayLike, np.ndarray or dask array typing which is unnecessarily narrow when xarray also supports for example sparse arrays or cupy arrays. This PR is a start at cleaning this up by defining a T_DuckArray typevar that symbolizes an array api compliant array. | 2023-09-18T18:33:50Z | 2023-09-19T17:41:28Z | 2023-09-19T15:23:25Z | 2023-09-19T15:23:25Z | 2b444af78cef1aaf4bbd9e4bded246d1d0defddb | 0 | 70554a346278311cfe431c14ca0e0a7eeaf472cf | 3d59258bf18186c926013d868ae76cbbf178ae70 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/8203 |
Links from other tables
- 2 rows from pull_requests_id in labels_pull_requests