home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 902430683

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/5678#issuecomment-902430683 https://api.github.com/repos/pydata/xarray/issues/5678 902430683 IC_kwDOAMm_X841yf_b 14371165 2021-08-20T04:57:29Z 2021-08-20T04:57:29Z MEMBER

Yes! Literal and TypeGuard seems like great ways of narrowing down types without using slow isinstance checks everywhere.

Some nice reading: https://adamj.eu/tech/2021/05/17/python-type-hints-how-to-narrow-types-with-isinstance-assert-literal/ https://adamj.eu/tech/2021/06/09/python-type-hints-how-to-narrow-types-with-typeguard/

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