home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1009802137

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/6154#issuecomment-1009802137 https://api.github.com/repos/pydata/xarray/issues/6154 1009802137 IC_kwDOAMm_X848MFuZ 90008 2022-01-11T10:14:09Z 2022-01-11T10:14:09Z CONTRIBUTOR

ImportError is a superset of ModuleNotFoundError. https://github.com/python/cpython/blob/f4c03484da59049eb62a9bf7777b963e2267d187/Lib/test/exception_hierarchy.txt#L19

So it depends what question you care about asking:

  1. Does the python exist? You should test for ModuleNotFoundError
  2. Is the package usable? You should probably test for ImportError

I think question 2 is friendlier to xarray users.

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