home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1109162123

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/datasette/issues/1720#issuecomment-1109162123 https://api.github.com/repos/simonw/datasette/issues/1720 1109162123 IC_kwDOBm6k_c5CHHiL 9599 2022-04-26T00:16:42Z 2022-04-26T00:16:51Z OWNER Actually I'm going to imitate the existing `register_*` hooks: - `def register_output_renderer(datasette)` - `def register_facet_classes()` - `def register_routes(datasette)` - `def register_commands(cli)` - `def register_magic_parameters(datasette)` So I'm going to call the new hooks: - `register_table_extras(datasette)` - `register_row_extras(datasette)` - `register_query_extras(datasette)` They'll return a list of `async def` functions. The names of those functions will become the names of the extras. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1215174094  
Powered by Datasette · Queries took 3.15ms