home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 797649915

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
797649915 MDExOlB1bGxSZXF1ZXN0NTY0NjA4MjY0 1211 Use context manager instead of plain open 4488943 closed 0     3 2021-01-31T07:58:10Z 2021-03-11T16:15:50Z 2021-03-11T16:15:50Z CONTRIBUTOR simonw/datasette/pulls/1211

Context manager with open closes the files after usage. Fixes: https://github.com/simonw/datasette/issues/1208

When the object is already a pathlib.Path i used read_text write_text functions

In some cases pathlib.Path.open were used in context manager, it is basically the same as builtin open.

Tests are passing: 850 passed, 5 xfailed, 10 xpassed

107914493 pull    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1211/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
0  

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 0.915ms · About: github-to-sqlite