home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1031635633

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/pull/6239#issuecomment-1031635633 https://api.github.com/repos/pydata/xarray/issues/6239 1031635633 IC_kwDOAMm_X849fYKx 10194086 2022-02-07T16:04:31Z 2022-02-07T16:04:31Z MEMBER

Define

```python

class BackendArray(...):

 @property 
 def shape(self) -> tuple(int, ...): 
     return self._shape

```

and then set

```python class SpecificBackend(BackendArray):

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

```

but that might affect downstream libraries.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1124879701
Powered by Datasette · Queries took 73.378ms · About: xarray-datasette