home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where author_association = "MEMBER" and issue = 686495257 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 2

  • max-sixty 4
  • keewis 3

issue 1

  • Use deepcopy recursively on numpy arrays · 7 ✖

author_association 1

  • MEMBER · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
682003349 https://github.com/pydata/xarray/pull/4379#issuecomment-682003349 https://api.github.com/repos/pydata/xarray/issues/4379 MDEyOklzc3VlQ29tbWVudDY4MjAwMzM0OQ== max-sixty 5635139 2020-08-27T14:58:21Z 2020-08-27T14:58:21Z MEMBER

@darikg Thank you for the contribution!

If you want to put a whatsnew, feel free to — either as a new PR or if you're planning any more contributions atm, then as part of that. Not obligatory though

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Use deepcopy recursively on numpy arrays 686495257
682002273 https://github.com/pydata/xarray/pull/4379#issuecomment-682002273 https://api.github.com/repos/pydata/xarray/issues/4379 MDEyOklzc3VlQ29tbWVudDY4MjAwMjI3Mw== max-sixty 5635139 2020-08-27T14:56:33Z 2020-08-27T14:56:33Z MEMBER

Great, let's merge both?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Use deepcopy recursively on numpy arrays 686495257
681987321 https://github.com/pydata/xarray/pull/4379#issuecomment-681987321 https://api.github.com/repos/pydata/xarray/issues/4379 MDEyOklzc3VlQ29tbWVudDY4MTk4NzMyMQ== keewis 14808389 2020-08-27T14:32:46Z 2020-08-27T14:32:46Z MEMBER

actually, we should probably merge #4381 to fix the formatting.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Use deepcopy recursively on numpy arrays 686495257
681985792 https://github.com/pydata/xarray/pull/4379#issuecomment-681985792 https://api.github.com/repos/pydata/xarray/issues/4379 MDEyOklzc3VlQ29tbWVudDY4MTk4NTc5Mg== max-sixty 5635139 2020-08-27T14:30:17Z 2020-08-27T14:30:17Z MEMBER

This looks good to go! There's one small formatting fix, and then we can merge. Cheers @darikg

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Use deepcopy recursively on numpy arrays 686495257
681103837 https://github.com/pydata/xarray/pull/4379#issuecomment-681103837 https://api.github.com/repos/pydata/xarray/issues/4379 MDEyOklzc3VlQ29tbWVudDY4MTEwMzgzNw== keewis 14808389 2020-08-26T20:22:55Z 2020-08-26T20:22:55Z MEMBER

thanks for tracking this down. The easiest way to fix the test would be to decorate it with python pytest.mark.skipif(not IS_NEP18_ACTIVE, reason="requires NEP18") Even easier would be to bump numpy, but that doesn't seem to be possible right now.

We might also try to rewrite the condition to: python if ( hasattr(data, "__array_function__") or isinstance(data, dask_array_type) or (not IS_NEP18_ACTIVE and isinstance(data, np.ndarray)) ): data = copy.deepcopy(data)

Thoughts, @pydata/xarray?

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Use deepcopy recursively on numpy arrays 686495257
681038709 https://github.com/pydata/xarray/pull/4379#issuecomment-681038709 https://api.github.com/repos/pydata/xarray/issues/4379 MDEyOklzc3VlQ29tbWVudDY4MTAzODcwOQ== keewis 14808389 2020-08-26T18:07:53Z 2020-08-26T18:07:53Z MEMBER

it seems that's a backwards compatibility issue with numpy: 1.15 fails while 1.19 works. I'm not sure in which version the fix was introduced, though

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Use deepcopy recursively on numpy arrays 686495257
681031704 https://github.com/pydata/xarray/pull/4379#issuecomment-681031704 https://api.github.com/repos/pydata/xarray/issues/4379 MDEyOklzc3VlQ29tbWVudDY4MTAzMTcwNA== max-sixty 5635139 2020-08-26T17:54:07Z 2020-08-26T17:54:07Z MEMBER

Thanks for the PR @darikg !

Re tests failing — is there a chance python interns the object instance? Maybe worth trying with a less primitive object?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Use deepcopy recursively on numpy arrays 686495257

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