home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1059209412

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
1059209412 I_kwDOBm6k_c4_IkDE 1523 Come up with a more elegant solution for base_url than ds.urls.path() 9599 open 0     0 2021-11-20T19:05:22Z 2021-11-20T19:05:22Z   OWNER  

While fixing #1519 I added a lot of ugly code that looks like this: https://github.com/simonw/datasette/blob/08947fa76433d18988aa1ee1d929bd8320c75fe2/datasette/facets.py#L228-L230

See these two commits in particular: fe687fd0207c4c56c4778d3e92e3505fc4b18172 and 08947fa76433d18988aa1ee1d929bd8320c75fe2

It would be great to come up with a less verbose and error-prone way of handling this problem.

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

Links from other tables

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