home / github

Menu
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 574043218

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

id ▼ html_url issue_url node_id user created_at updated_at author_association body reactions issue performed_via_github_app
593452830 https://github.com/simonw/datasette/issues/693#issuecomment-593452830 https://api.github.com/repos/simonw/datasette/issues/693 MDEyOklzc3VlQ29tbWVudDU5MzQ1MjgzMA== simonw 9599 2020-03-02T15:16:20Z 2020-03-02T15:16:20Z OWNER Here's why: https://github.com/simonw/datasette/blob/613f6fad7249da547c06ebc46616aba0f74259a4/datasette/views/base.py#L84-L96 It's bypassing the `.ds.render_template()` call - and that's where the plugin hook is executed: https://github.com/simonw/datasette/blob/613f6fad7249da547c06ebc46616aba0f74259a4/datasette/app.py#L520-L564 {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Variables from extra_template_vars() not exposed in _context=1 574043218  
609461623 https://github.com/simonw/datasette/issues/693#issuecomment-609461623 https://api.github.com/repos/simonw/datasette/issues/693 MDEyOklzc3VlQ29tbWVudDYwOTQ2MTYyMw== simonw 9599 2020-04-05T18:33:46Z 2020-04-05T18:33:46Z OWNER So I should move the `template_debug` and `_context` logic into the `render_template()` method. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Variables from extra_template_vars() not exposed in _context=1 574043218  
609466998 https://github.com/simonw/datasette/issues/693#issuecomment-609466998 https://api.github.com/repos/simonw/datasette/issues/693 MDEyOklzc3VlQ29tbWVudDYwOTQ2Njk5OA== simonw 9599 2020-04-05T19:12:48Z 2020-04-05T19:12:48Z OWNER Fixed. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} Variables from extra_template_vars() not exposed in _context=1 574043218  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 19.639ms · About: simonw/datasette-graphql