home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 1076388044 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • simonw 4
  • wragge 2

author_association 2

  • OWNER 4
  • CONTRIBUTOR 2

issue 1

  • Writable canned queries fail to load custom templates · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
997519202 https://github.com/simonw/datasette/issues/1547#issuecomment-997519202 https://api.github.com/repos/simonw/datasette/issues/1547 IC_kwDOBm6k_c47dO9i wragge 127565 2021-12-20T01:36:58Z 2021-12-20T01:36:58Z CONTRIBUTOR

Yep, that works -- thanks!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Writable canned queries fail to load custom templates 1076388044  
997514220 https://github.com/simonw/datasette/issues/1547#issuecomment-997514220 https://api.github.com/repos/simonw/datasette/issues/1547 IC_kwDOBm6k_c47dNvs simonw 9599 2021-12-20T01:26:25Z 2021-12-20T01:26:25Z OWNER

OK, this should hopefully fix that for you:

pip install https://github.com/simonw/datasette/archive/f36e010b3b69ada104b79d83c7685caf9359049e.zip
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Writable canned queries fail to load custom templates 1076388044  
997513369 https://github.com/simonw/datasette/issues/1547#issuecomment-997513369 https://api.github.com/repos/simonw/datasette/issues/1547 IC_kwDOBm6k_c47dNiZ simonw 9599 2021-12-20T01:24:43Z 2021-12-20T01:24:43Z OWNER

@wragge thanks, that's a bug! Working on that in #1575.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Writable canned queries fail to load custom templates 1076388044  
997511968 https://github.com/simonw/datasette/issues/1547#issuecomment-997511968 https://api.github.com/repos/simonw/datasette/issues/1547 IC_kwDOBm6k_c47dNMg wragge 127565 2021-12-20T01:21:59Z 2021-12-20T01:21:59Z CONTRIBUTOR

I've installed the alpha version but get an error when starting up Datasette:

Traceback (most recent call last): File "/Users/tim/.pyenv/versions/stock-exchange/bin/datasette", line 5, in <module> from datasette.cli import cli File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/cli.py", line 15, in <module> from .app import Datasette, DEFAULT_SETTINGS, SETTINGS, SQLITE_LIMIT_ATTACHED, pm File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/app.py", line 31, in <module> from .views.database import DatabaseDownload, DatabaseView File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/views/database.py", line 25, in <module> from datasette.plugins import pm File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/plugins.py", line 29, in <module> mod = importlib.import_module(plugin) File "/Users/tim/.pyenv/versions/3.8.5/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/filters.py", line 9, in <module> @hookimpl(specname="filters_from_request") TypeError: __call__() got an unexpected keyword argument 'specname'

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Writable canned queries fail to load custom templates 1076388044  
997471672 https://github.com/simonw/datasette/issues/1547#issuecomment-997471672 https://api.github.com/repos/simonw/datasette/issues/1547 IC_kwDOBm6k_c47dDW4 simonw 9599 2021-12-19T22:18:26Z 2021-12-19T22:18:26Z OWNER

I released this in an alpha, so you can try out this fix using:

pip install datasette==0.60a1
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Writable canned queries fail to load custom templates 1076388044  
997460731 https://github.com/simonw/datasette/issues/1547#issuecomment-997460731 https://api.github.com/repos/simonw/datasette/issues/1547 IC_kwDOBm6k_c47dAr7 simonw 9599 2021-12-19T21:02:15Z 2021-12-19T21:02:15Z OWNER

Yes, this is a bug. It looks like the problem is with the if write: branch in this code here: https://github.com/simonw/datasette/blob/5fac26aa221a111d7633f2dd92014641f7c0ade9/datasette/views/database.py#L252-L327

Is missing this bit of code:

https://github.com/simonw/datasette/blob/5fac26aa221a111d7633f2dd92014641f7c0ade9/datasette/views/database.py#L343-L347

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Writable canned queries fail to load custom templates 1076388044  

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.364ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows