home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER", issue = 1124879701 and user = 14371165 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, updated_at (date)

user 1

  • Illviljan · 3 ✖

issue 1

  • Type NDArrayMixin · 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
1031573595 https://github.com/pydata/xarray/pull/6239#issuecomment-1031573595 https://api.github.com/repos/pydata/xarray/issues/6239 IC_kwDOAMm_X849fJBb Illviljan 14371165 2022-02-07T15:11:48Z 2022-02-07T15:11:48Z MEMBER

I think BackendArray (and it's parents) did not define shape as an attribute. So one option is to revert this change.

Yeah this approach isn't working that great. I think I'll close this pr unless there's some other ideas.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Type NDArrayMixin 1124879701
1030708990 https://github.com/pydata/xarray/pull/6239#issuecomment-1030708990 https://api.github.com/repos/pydata/xarray/issues/6239 IC_kwDOAMm_X849b17- Illviljan 14371165 2022-02-05T22:29:27Z 2022-02-05T22:36:55Z MEMBER

The errors looks like this:

```python self = <xarray.backends.scipy_.ScipyArrayWrapper object at 0x00000234CBC43610> variable_name = 'dim2' datastore = <xarray.backends.scipy_.ScipyDataStore object at 0x00000234CBC43D90>

def __init__(self, variable_name, datastore):
    self.datastore = datastore
    self.variable_name = variable_name
    array = self.get_variable().data
  self.shape = array.shape

E AttributeError: can't set attribute

/home/runner/work/xarray/xarray/xarray/backends/scipy_.py:52: AttributeError ``` Setting shape like this doesn't seem like the proper way of doing it. Maybe these should just inherit NDArrayMixin as well?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Type NDArrayMixin 1124879701
1030589937 https://github.com/pydata/xarray/pull/6239#issuecomment-1030589937 https://api.github.com/repos/pydata/xarray/issues/6239 IC_kwDOAMm_X849bY3x Illviljan 14371165 2022-02-05T09:41:24Z 2022-02-05T09:41:24Z MEMBER

pre-commit.ci autofix

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 1,
    "eyes": 0
}
  Type NDArrayMixin 1124879701

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