home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 962414054

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/5944#issuecomment-962414054 https://api.github.com/repos/pydata/xarray/issues/5944 962414054 IC_kwDOAMm_X845XUXm 9155111 2021-11-06T07:50:52Z 2021-11-06T07:50:52Z CONTRIBUTOR

On a side note, the syntax .get is deprecated in the importlib_metadata package and most likely in Python 3.10's importlib.metadata stdlib.

```py

In [16]: from importlib_metadata import entry_points

In [17]: entry_points().get('xarray.backends', ()) <ipython-input-17-5f3ea0df5c10>:1: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. entry_points().get('xarray.backends', ()) Out[17]: [EntryPoint(name='rasterio', value='rioxarray.xarray_plugin:RasterioBackend', group='xarray.backends'), EntryPoint(name='pymech', value='pymech.dataset:PymechXarrayBackend', group='xarray.backends')]

In [18]: entry_points().select(group='xarray.backends') Out[18]: [EntryPoint(name='rasterio', value='rioxarray.xarray_plugin:RasterioBackend', group='xarray.backends'), EntryPoint(name='pymech', value='pymech.dataset:PymechXarrayBackend', group='xarray.backends')] ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1046454702
Powered by Datasette · Queries took 78.626ms · About: xarray-datasette