home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "NONE" and issue = 951644054 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

  • menzel-gfdl 2
  • monocongo 1

issue 1

  • NameError: name '_DType_co' is not defined · 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
885927432 https://github.com/pydata/xarray/issues/5631#issuecomment-885927432 https://api.github.com/repos/pydata/xarray/issues/5631 IC_kwDOAMm_X840zi4I monocongo 1328158 2021-07-23T21:39:54Z 2021-07-23T21:39:54Z NONE

Thanks to all for your help. Installing typing-extensions did solve the problem, thanks for the heads up @rhkleijn

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  NameError: name '_DType_co' is not defined 951644054
885828529 https://github.com/pydata/xarray/issues/5631#issuecomment-885828529 https://api.github.com/repos/pydata/xarray/issues/5631 IC_kwDOAMm_X840zKux menzel-gfdl 43218622 2021-07-23T18:39:47Z 2021-07-23T18:45:28Z NONE

I get the same error, as expected:

```python

import numpy.typing Traceback (most recent call last): File "<stdin>", line 1, in <module> File "env/lib/python3.7/site-packages/numpy/typing/init.py", line 316, in <module> from ._dtype_like import ( File "env/lib/python3.7/site-packages/numpy/typing/_dtype_like.py", line 95, in <module> class _SupportsDType(Generic[_DType_co]): NameError: name '_DType_co' is not defined numpy.version.version '1.21.1' ```

numpy is aware of this issue. It looks like it is only an issue for python 3.7.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  NameError: name '_DType_co' is not defined 951644054
885792974 https://github.com/pydata/xarray/issues/5631#issuecomment-885792974 https://api.github.com/repos/pydata/xarray/issues/5631 IC_kwDOAMm_X840zCDO menzel-gfdl 43218622 2021-07-23T17:34:48Z 2021-07-23T17:36:04Z NONE

I get the same error, but can import numpy with/without xarray installed. I'm running python 3.7.7 on RHEL 7.9 (Maipo):

```python $ pip install --upgrade pip $ pip install xarray $ python3

import numpy import xarray Traceback (most recent call last): File "<stdin>", line 1, in <module> File "env/lib/python3.7/site-packages/xarray/init.py", line 3, in <module> from . import testing, tutorial, ufuncs File "env/lib/python3.7/site-packages/xarray/testing.py", line 8, in <module> from xarray.core import duck_array_ops, formatting, utils File "env/lib/python3.7/site-packages/xarray/core/duck_array_ops.py", line 16, in <module> from . import dask_array_compat, dask_array_ops, dtypes, npcompat, nputils File "env/lib/python3.7/site-packages/xarray/core/npcompat.py", line 81, in <module> from numpy.typing import ArrayLike, DTypeLike File "env/lib/python3.7/site-packages/numpy/typing/init.py", line 316, in <module> from ._dtype_like import ( File "env/lib/python3.7/site-packages/numpy/typing/_dtype_like.py", line 95, in <module> class _SupportsDType(Generic[_DType_co]): NameError: name '_DType_co' is not defined ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  NameError: name '_DType_co' is not defined 951644054

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