home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 1215082284 and user = 367900 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • bcbnz · 2 ✖

issue 1

  • plugins.py:98: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. · 2 ✖

author_association 1

  • CONTRIBUTOR 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1109945309 https://github.com/pydata/xarray/issues/6514#issuecomment-1109945309 https://api.github.com/repos/pydata/xarray/issues/6514 IC_kwDOAMm_X85CKGvd bcbnz 367900 2022-04-26T15:33:40Z 2022-04-26T15:33:40Z CONTRIBUTOR

The Compatibility Note I linked above appears to point out the the entry_points(group="xarray.backends") is available since Python 3.6, so we not need the versione check at all.

There's some unfortunate version numbers there. That refers to version 3.6 of the third-party importlib_metadata library, a later version of which was used for the importlib.metadata library included with Python 3.10. If you try to run entry_points(group="xarray.backends") on Python 3.9 it fails with a TypeError.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  plugins.py:98: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. 1215082284
1109723579 https://github.com/pydata/xarray/issues/6514#issuecomment-1109723579 https://api.github.com/repos/pydata/xarray/issues/6514 IC_kwDOAMm_X85CJQm7 bcbnz 367900 2022-04-26T12:16:48Z 2022-04-26T12:16:48Z CONTRIBUTOR

Just came to report this after seeing it in some tests of one of my projects. Based on a change I made for plugins in that project, I think that changing

https://github.com/pydata/xarray/blob/d479009d79374dc4a56c9f4346b1af38f5ac182c/xarray/backends/plugins.py#L96-L99

to

python @functools.lru_cache(maxsize=1) def list_engines(): try: entrypoints = entry_points(group="xarray.backends") # Python >= 3.10 except TypeError: entrypoints = entry_points().get("xarray.backends", ()) return build_engines(entrypoints)

will take care of this. Not tested as I don't have access to an older Python environment right now, but I can make a pull request later if this would be a suitable workaround and nobody else does so first.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  plugins.py:98: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. 1215082284

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 640.429ms · About: xarray-datasette