home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 963528457

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
963528457 MDU6SXNzdWU5NjM1Mjg0NTc= 1425 render_cell() hook should support returning an awaitable 9599 closed 0     11 2021-08-08T22:32:29Z 2021-08-09T07:14:35Z 2021-08-09T03:00:37Z OWNER  

Many of the plugin hooks can return an awaitable - e.g. https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-extra-template-vars - but render_cell() doesn't support this.

I recently found myself wanting to execute an additional SQL query from that hook, but it wasn't possible to do that since I couldn't use await.

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

Links from other tables

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