home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1213250165

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/6910#issuecomment-1213250165 https://api.github.com/repos/pydata/xarray/issues/6910 1213250165 IC_kwDOAMm_X85IULp1 10194086 2022-08-12T15:41:46Z 2022-08-12T15:51:24Z MEMBER

I just realized that there is a bug in the decorator for "keyword-only arguments without a default". I wonder if I should fix this or just disallow this pattern, i.e. the following does currently not work properly:

python @_deprecate_positional_args("v0.1.0") def func(a, *, b): pass

but I am not sure how helpful it is.

EDIT: It now raises a TypeError for this case.

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