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/1281#issuecomment-282146064,https://api.github.com/repos/pydata/xarray/issues/1281,282146064,MDEyOklzc3VlQ29tbWVudDI4MjE0NjA2NA==,4441865,2017-02-23T22:43:10Z,2017-02-23T22:43:10Z,CONTRIBUTOR,"FWIW I've been doing def update_attrs(obj, *args, **kwargs): obj.attrs.update(*args, **kwargs) return obj ds.pipe(update_attrs, foo='bar') which, yeah, is not too painful. But when I find myself using it every time I use xarray it makes me wish it was included. A lambda solution is more difficult (maybe impossible?) because you need to update the attrs *and* return the original object to continue the pipe.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,209523348 https://github.com/pydata/xarray/issues/1281#issuecomment-281908185,https://api.github.com/repos/pydata/xarray/issues/1281,281908185,MDEyOklzc3VlQ29tbWVudDI4MTkwODE4NQ==,4441865,2017-02-23T06:36:18Z,2017-02-23T06:36:18Z,CONTRIBUTOR,Thanks for the tip. I'll give it a shot.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,209523348