home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 866182655

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/sqlite-utils/issues/267#issuecomment-866182655 https://api.github.com/repos/simonw/sqlite-utils/issues/267 866182655 MDEyOklzc3VlQ29tbWVudDg2NjE4MjY1NQ== 9599 2021-06-22T17:24:03Z 2021-06-22T17:24:03Z OWNER I'm re-opening this as a research task because it may be possible to cleanly implement this using a `dict` subclass - some notes on that here: https://treyhunner.com/2019/04/why-you-shouldnt-inherit-from-list-and-dict-in-python/ Since this would just be for adding methods (and maybe a property for returning the primary keys for a row) the usual disadvantages of subclassing `dict` described in that article shouldn't apply. One catch: dictionaries already have a `.update()` method! So would have to pick another name. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 915421499  
Powered by Datasette ยท Queries took 0.905ms