home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1256541081

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/7044#issuecomment-1256541081 https://api.github.com/repos/pydata/xarray/issues/7044 1256541081 IC_kwDOAMm_X85K5UuZ 14371165 2022-09-23T18:32:25Z 2022-09-23T18:34:16Z MEMBER

The intention in https://peps.python.org/pep-0673/ is to not need to type self. Which pyright handles correctly.

So this has to be valid: ```python if TYPE_CHECKING: from xarray.core.types import Self

class Foo: def returns_self(self) -> Self: return self ```

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