home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 719807502

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/1072#issuecomment-719807502 https://api.github.com/repos/simonw/datasette/issues/1072 719807502 MDEyOklzc3VlQ29tbWVudDcxOTgwNzUwMg== 9599 2020-10-30T21:26:49Z 2020-10-30T21:26:49Z OWNER

It looks like Jinja does not have a mechanism for asynchronous template loading - the loader API is synchronous.

One option may be to figure out which templates are needed (including inherited templates and includes) before rendering the template. Then async load those templates from the database into a DictLoader, then pass that DictLoader to Jinja.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
733499930  
Powered by Datasette · Queries took 0.895ms · About: github-to-sqlite