home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 560036585

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/645#issuecomment-560036585 https://api.github.com/repos/simonw/datasette/issues/645 560036585 MDEyOklzc3VlQ29tbWVudDU2MDAzNjU4NQ== 9599 2019-12-01T01:28:35Z 2019-12-01T01:28:35Z OWNER

Plugins are currently expected to return this: python @hookimpl def register_output_renderer(datasette): return { "extension": "test", "callback": render_test } We can add an optional third argument, "should_suggest", which takes the same arguments as the callback but simply returns True or False depending on if the plugin can work for the current set of data.

If that dictionary key is omitted, Datasette will treat this test as returning True.

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