home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1252924768

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/7052#issuecomment-1252924768 https://api.github.com/repos/pydata/xarray/issues/7052 1252924768 IC_kwDOAMm_X85Krh1g 43316012 2022-09-20T21:19:29Z 2022-09-20T21:19:29Z COLLABORATOR

The 2D plotfunctions have the correct annotions at runtime (plotfunc.__annotations__) but mypy thinks they are args, *kwargs. Same with the accessor methods.

Does anyone have an idea how to tell mypy that the type is actually the function signature of the "inside" newplotmethod function? Do we need to define a dummy method with the same signature or something?

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