home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1004474062

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/6124#issuecomment-1004474062 https://api.github.com/repos/pydata/xarray/issues/6124 1004474062 IC_kwDOAMm_X8473w7O 1217238 2022-01-04T01:59:46Z 2022-01-04T01:59:46Z MEMBER

@dcherian So I guess we decided to go for it? :)

@max-sixty We can still inherit from Mapping and just explicitly raise TypeError inside Dataset.__bool__ rather than using the default implementation. This is certainly a slight violation from the Mapping protocol, but xarray.Dataset is already a little inconsistent (e.g., we override __eq__ inconsistently with the default mapping behavior). Overall I think it's probably a worthwhile the more user-friendly choice?

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