{"html_url": "https://github.com/simonw/datasette/issues/1651#issuecomment-1061359915", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1651", "id": 1061359915, "node_id": "IC_kwDOBm6k_c4_QxEr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-03-08T03:08:14Z", "updated_at": "2022-03-08T03:09:24Z", "author_association": "OWNER", "body": "A lot of the code complexity here is caused by `DataView` ([here](https://github.com/simonw/datasette/blob/c5791156d92615f25696ba93dae5bb2dcc192c98/datasette/views/base.py#L182-L669)), which has the logic for CSV streaming and plugin formats such that it can be shared between tables and custom queries.\r\n\r\nIt would be good to get rid of that subclassed shared code, figure out how to do it via a utility function instead.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1161584460, "label": "Get rid of the no-longer necessary ?_format=json hack for tables called x.json"}, "performed_via_github_app": null}