home / github / pull_requests

Menu
  • GraphQL API
  • Search all tables

pull_requests: 1565295227

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
1565295227 PR_kwDOAMm_X85dTIJ7 8338 closed 0 Enable subclassing the netCDF4 backend, changing the dataset class 1486942 See #8288 <!-- Feel free to remove check-list items aren't relevant to your change --> - [ ] Closes #xxxx - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst` These changes allow me to make a pretty minimal subclass that just swaps out the `netCDF4.Dataset` class for my version: ```python from xarray.backends.netCDF4_ import NetCDF4BackendEntrypoint, NetCDF4DataStore from ._wrapper import Dataset # This is my netCDF extension class NcComplexDataStore(NetCDF4DataStore): @classmethod def DatasetClass(self) -> type: return Dataset class NcComplexBackendEntrypoint(NetCDF4BackendEntrypoint): DataStore = NcComplexDataStore ``` 2023-10-19T17:09:22Z 2023-12-04T17:16:50Z 2023-12-04T17:16:49Z   f7edf37a8413c32c746913d87c12b5ac78ac0ecc     0 18af8e63f98c9aa7c54ad6afe13cb583e92bacc9 1e8f618e9d3754cb892a8438a1a7745aadce2bbf CONTRIBUTOR   13221727 https://github.com/pydata/xarray/pull/8338  

Links from other tables

  • 2 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 0.672ms