home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 193869538

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/728#issuecomment-193869538 https://api.github.com/repos/pydata/xarray/issues/728 193869538 MDEyOklzc3VlQ29tbWVudDE5Mzg2OTUzOA== 17726101 2016-03-08T17:03:33Z 2016-03-08T17:03:33Z NONE

Well, I think pure OOP should support class inheritance. In this case, you can subclass DataArray only if you do not customise the __init__ method, which is not true inheritance ...

Yes, I have an alternative to suggest: initialise subclass instances in two steps, by creating a public method init(self, ...) or initialise(self, ...) to set custom attributes.

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