home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 37435670

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/62#issuecomment-37435670 https://api.github.com/repos/pydata/xarray/issues/62 37435670 MDEyOklzc3VlQ29tbWVudDM3NDM1Njcw 514053 2014-03-12T17:10:58Z 2014-03-12T17:10:58Z CONTRIBUTOR

Renaming set_variables to update seems reasonable to me. Its behavior seems similar enough to dict.update. Then a separate function replace could be a lightweight wrapper around update which makes a copy:

obj = type(self)(variables, self.attributes) obj.update(_args, *_kwdargs)

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