home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 728600048

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
728600048 MDU6SXNzdWU3Mjg2MDAwNDg= 1045 Document that datasette.render_template(template, ...) also accepts a list of templates 9599 closed 0   6026070 1 2020-10-23T23:37:12Z 2020-10-24T00:22:10Z 2020-10-24T00:22:09Z OWNER  

https://docs.datasette.io/en/stable/internals.html#await-render-template-template-context-none-request-none

await .render_template(template, context=None, request=None)

This currently only accepts a single template. If it accepted a list of templates (where the first available template gets rendered) it could be more widely used by Datasette internally.

Spotted this while researching #1042.

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1045/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

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