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/issues/5531#issuecomment-1213078538,https://api.github.com/repos/pydata/xarray/issues/5531,1213078538,IC_kwDOAMm_X85IThwK,10194086,2022-08-12T12:51:30Z,2022-08-12T12:51:30Z,MEMBER,"I just opened #6910 - feedback welcome.
> These decorators are kinda fun to write and are quite taylored to a certain release philosophy.
> It might be warranted to just write your own ;)
I am glad that's fine for you.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,929840699
https://github.com/pydata/xarray/issues/5531#issuecomment-1211959725,https://api.github.com/repos/pydata/xarray/issues/5531,1211959725,IC_kwDOAMm_X85IPQmt,10194086,2022-08-11T13:02:19Z,2022-08-11T13:02:31Z,MEMBER,"I just realized that @hmaarrfk's decorator works similarly, but it also has some bells and whistles we probably don't need..?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,929840699
https://github.com/pydata/xarray/issues/5531#issuecomment-1211288085,https://api.github.com/repos/pydata/xarray/issues/5531,1211288085,IC_kwDOAMm_X85IMsoV,10194086,2022-08-10T21:20:32Z,2022-08-10T21:20:32Z,MEMBER,"I just discovered the scikit-learns decorator to deprecate positional args - see https://github.com/scikit-learn/scikit-learn/pull/13311 - and now have a preference for this one. It seems the simplest and does not need any input as it reads the keyword-only args from the signature (could potentially add the version of the deprecation).
```python
@_deprecate_positional_args
def f1(a, b, *, c=1, d=1):
pass
```
and at the end of the deprecation period you only need to do
```diff
-@_deprecate_positional_args
def f1(a, b, *, c=1, d=1):
pass
```
","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,929840699
https://github.com/pydata/xarray/issues/5531#issuecomment-1102960326,https://api.github.com/repos/pydata/xarray/issues/5531,1102960326,IC_kwDOAMm_X85BvdbG,10194086,2022-04-19T18:31:32Z,2022-04-19T18:31:32Z,MEMBER,Both look good - but adding an intermittent dependency seems a bit heavy...,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,929840699