home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "CONTRIBUTOR", issue = 990509161 and user = 23625371 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • znicholls · 3 ✖

issue 1

  • Update combine error · 3 ✖

author_association 1

  • CONTRIBUTOR · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
927232092 https://github.com/pydata/xarray/pull/5776#issuecomment-927232092 https://api.github.com/repos/pydata/xarray/issues/5776 IC_kwDOAMm_X843RHBc znicholls 23625371 2021-09-26T04:59:24Z 2021-09-26T04:59:24Z CONTRIBUTOR

The only other thing this needs is a test to check that the error is raised with the correct message (i.e. pytest.raises(TypeError, match="may fix this issue")

I believe that's covered by https://github.com/pydata/xarray/blob/ec2657bfc1a426aa3559243b02ecf48de6673506/xarray/tests/test_combine.py#L1109 (i.e. no change is needed to the existing code)

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Update combine error 990509161
927108350 https://github.com/pydata/xarray/pull/5776#issuecomment-927108350 https://api.github.com/repos/pydata/xarray/issues/5776 IC_kwDOAMm_X843Qoz- znicholls 23625371 2021-09-25T11:35:37Z 2021-09-25T11:35:37Z CONTRIBUTOR

Alrighty updated, see what you think

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Update combine error 990509161
914762048 https://github.com/pydata/xarray/pull/5776#issuecomment-914762048 https://api.github.com/repos/pydata/xarray/issues/5776 IC_kwDOAMm_X842hilA znicholls 23625371 2021-09-08T01:13:06Z 2021-09-08T01:13:06Z CONTRIBUTOR

We could try and tighten this up in a few ways (I'm not sure how much effort it is worth):

  • only talk about cf_time if the error is in the time dimension (or if one of the types is cftime.datetime)
  • only talk about cf_time if the function which tried to do the combining actually has this argument (e.g. combine_by_coords doesn't have use_cftime, only open_mfdataset does so the current implementation could be confusing), to do this I'd use a try except block further up the stack rather than altering the message in _ensure_same_types

Thoughts @mathause and @TomNicholas ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Update combine error 990509161

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