home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

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

  • keewis · 2 ✖

issue 1

  • DataArray.from_dict: convert docstring code to doctest · 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
1005727954 https://github.com/pydata/xarray/issues/6136#issuecomment-1005727954 https://api.github.com/repos/pydata/xarray/issues/6136 IC_kwDOAMm_X8478jDS keewis 14808389 2022-01-05T14:23:00Z 2022-01-05T14:23:27Z MEMBER

okay, thanks, we can take it from here.

Note that we have a CI to automatically run doctests, so you could in theory push to verify changes.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray.from_dict: convert docstring code to doctest 1093467156
1005039003 https://github.com/pydata/xarray/issues/6136#issuecomment-1005039003 https://api.github.com/repos/pydata/xarray/issues/6136 IC_kwDOAMm_X847562b keewis 14808389 2022-01-04T17:49:22Z 2022-01-04T17:49:22Z MEMBER

this does indeed look like a typo (even though as @mathause says that value will not be checked because the absence of data is checked first) but in any case it is valid to pass a str: dims="t", dims=["t"] and dims=("t",) mean the same thing to the DataArray constructor for 1D data. Maybe we should just remove the parens to make this clear? I would have hoped that black takes care of something like that...

We also have the same issue in the docstring of DataArray.from_dict, which by the way would really benefit from converting the code block to a doctest-style example (it will fail right now).

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray.from_dict: convert docstring code to doctest 1093467156

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