home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "NONE", issue = 1174427142 and user = 193170 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

  • shaunc · 3 ✖

issue 1

  • `Dataset.to_zarr` compute=False should allow access to awaitable · 3 ✖

author_association 1

  • NONE · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1073389475 https://github.com/pydata/xarray/issues/6383#issuecomment-1073389475 https://api.github.com/repos/pydata/xarray/issues/6383 IC_kwDOAMm_X84_-p-j shaunc 193170 2022-03-21T00:47:45Z 2022-03-21T00:47:45Z NONE

You can return a awaitable explicitly without declaring async. I'm not sure what the best style is -- if there is no await then asyncio will issue a warning in debug mode. Perhaps you can mark it ... Alternately, you could pass in an event loop to computed=, which would trigger the task being added with create_task() (as well as being returned?)

As for a contribution ... I'm already hacking on something but it isn't pretty. Will need to think more about how to do it the right way.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `Dataset.to_zarr` compute=False should allow access to awaitable 1174427142
1073313461 https://github.com/pydata/xarray/issues/6383#issuecomment-1073313461 https://api.github.com/repos/pydata/xarray/issues/6383 IC_kwDOAMm_X84_-Xa1 shaunc 193170 2022-03-20T19:07:56Z 2022-03-20T19:07:56Z NONE

to_zarr could return a task if compute=False even without being async. zarr depends on fsspec depends of s3fs which is async. I think you can get an awaitable from fsspec. I'm not sure about zarr, but looks like you can pass your own store -- which may be the way to do it.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `Dataset.to_zarr` compute=False should allow access to awaitable 1174427142
1073159748 https://github.com/pydata/xarray/issues/6383#issuecomment-1073159748 https://api.github.com/repos/pydata/xarray/issues/6383 IC_kwDOAMm_X84_9x5E shaunc 193170 2022-03-20T03:41:57Z 2022-03-20T03:42:14Z NONE

Hmm... probably I should be filing a feature request for this rather than a bug.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `Dataset.to_zarr` compute=False should allow access to awaitable 1174427142

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