home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER", issue = 1068680815 and user = 14371165 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

  • Illviljan · 3 ✖

issue 1

  • Fix wrong typing for tolerance in reindex · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1013689588 https://github.com/pydata/xarray/pull/6037#issuecomment-1013689588 https://api.github.com/repos/pydata/xarray/issues/6037 IC_kwDOAMm_X848a6z0 Illviljan 14371165 2022-01-15T14:16:00Z 2022-01-15T14:16:00Z MEMBER

Number is apparently a no-go for int and float when type checking.

For a future PR, but I don't think .sel is being type-checked properly in tests either as it uses Number as well: https://github.com/pydata/xarray/blob/4c865d607e6e03605b7050d9fb6991e86346bf08/xarray/core/dataset.py#L2446

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Fix wrong typing for tolerance in reindex 1068680815
1013669587 https://github.com/pydata/xarray/pull/6037#issuecomment-1013669587 https://api.github.com/repos/pydata/xarray/issues/6037 IC_kwDOAMm_X848a17T Illviljan 14371165 2022-01-15T11:57:18Z 2022-01-15T11:57:18Z MEMBER

Some typing errors now pop up now, now that we're testing it. Probably easier to use int and float instead? xarray/tests/test_dataarray.py:1534: error: Argument "tolerance" to "reindex" of "DataArray" has incompatible type "float"; expected "Union[Number, Iterable[Number], None]" [arg-type] xarray/tests/test_dataarray.py:1538: error: List item 0 has incompatible type "float"; expected "Number" [list-item] xarray/tests/test_dataarray.py:1538: error: List item 1 has incompatible type "float"; expected "Number" [list-item] xarray/tests/test_dataarray.py:1538: error: List item 2 has incompatible type "float"; expected "Number" [list-item] xarray/tests/test_dataset.py:1893: error: Argument "tolerance" to "reindex" of "Dataset" has incompatible type "float"; expected "Union[Number, Iterable[Number], None]" [arg-type] xarray/tests/test_dataset.py:1897: error: List item 0 has incompatible type "float"; expected "Number" [list-item] xarray/tests/test_dataset.py:1897: error: List item 1 has incompatible type "float"; expected "Number" [list-item] xarray/tests/test_dataset.py:1897: error: List item 2 has incompatible type "float"; expected "Number" [list-item] xarray/tests/test_dataset.py:1901: error: List item 0 has incompatible type "int"; expected "Number" [list-item] xarray/tests/test_dataset.py:1901: error: List item 1 has incompatible type "float"; expected "Number" [list-item] xarray/tests/test_dataset.py:1901: error: List item 2 has incompatible type "int"; expected "Number" [list-item]

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Fix wrong typing for tolerance in reindex 1068680815
1006718772 https://github.com/pydata/xarray/pull/6037#issuecomment-1006718772 https://api.github.com/repos/pydata/xarray/issues/6037 IC_kwDOAMm_X848AU80 Illviljan 14371165 2022-01-06T16:18:53Z 2022-01-06T16:18:53Z MEMBER

python def test_reindex_method(self) -> None: Should do the trick.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Fix wrong typing for tolerance in reindex 1068680815

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