home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1277298306

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/7094#issuecomment-1277298306 https://api.github.com/repos/pydata/xarray/issues/7094 1277298306 IC_kwDOAMm_X85MIgaC 43316012 2022-10-13T09:19:11Z 2022-10-13T09:20:06Z COLLABORATOR

We can build a list if we need a len? Or IIRC there is a Sized type — a Set but not an Iterable.

We already do that.

We have the following solutions:

  1. We allow any Iterable and it is up to the user to ensure correct ordering (mypy does not complain when a set is supplied)
  2. We require a Sequence which ensures ordering (user cannot supply a np.ndarray e.g.)
  3. We make the type more complicated to support ArrayLike as well.
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1388372090
Powered by Datasette · Queries took 0.666ms · About: xarray-datasette