home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1399341761

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/1101#issuecomment-1399341761 https://api.github.com/repos/simonw/datasette/issues/1101 1399341761 IC_kwDOBm6k_c5TaELB 9599 2023-01-21T22:07:19Z 2023-01-21T22:07:19Z OWNER Idea for supporting streaming with the `register_output_renderer` hook: ```python @hookimpl def register_output_renderer(datasette): return { "extension": "test", "render": render_demo, "can_render": can_render_demo, "render_stream": render_demo_stream, # This is new } ``` So there's a new `"render_stream"` key which can be returned, which if present means that the output renderer supports streaming. I'll play around with the design of that function signature in: - #1999 - #1062 {"total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 749283032  
Powered by Datasette · Queries took 1.053ms