home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER", issue = 784484810 and user = 5821660 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

  • kmuehlbauer · 2 ✖

issue 1

  • attributes that are lists of strings with a single member don't survive a round-trip · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
759463781 https://github.com/pydata/xarray/issues/4798#issuecomment-759463781 https://api.github.com/repos/pydata/xarray/issues/4798 MDEyOklzc3VlQ29tbWVudDc1OTQ2Mzc4MQ== kmuehlbauer 5821660 2021-01-13T13:55:37Z 2021-01-13T13:55:37Z MEMBER

@mikapfl This was added with https://github.com/Unidata/netcdf4-python/pull/597. But I can't say anything profound why the single element is extracted from the list.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  attributes that are lists of strings with a single member don't survive a round-trip 784484810
759435034 https://github.com/pydata/xarray/issues/4798#issuecomment-759435034 https://api.github.com/repos/pydata/xarray/issues/4798 MDEyOklzc3VlQ29tbWVudDc1OTQzNTAzNA== kmuehlbauer 5821660 2021-01-13T13:03:43Z 2021-01-13T13:04:49Z MEMBER

@mikapfl That's by design in netCDF4:

https://github.com/Unidata/netcdf4-python/blob/bcbe3a0c62e6aa012b7afe7c9b2cfc9b2abc5424/src/netCDF4/_netCDF4.pyx#L1478-L1482

python if len(result) == 1: return result[0] else: return result

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  attributes that are lists of strings with a single member don't survive a round-trip 784484810

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 31.927ms · About: xarray-datasette