home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 593446034

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/692#issuecomment-593446034 https://api.github.com/repos/simonw/datasette/issues/692 593446034 MDEyOklzc3VlQ29tbWVudDU5MzQ0NjAzNA== 9599 2020-03-02T15:03:48Z 2020-03-02T15:03:48Z OWNER

Workaround I used: ```python @hookimpl def extra_template_vars(datasette, database, table): async def is_hidden_table(): if database and table: try: db = datasette.databases[database] except KeyError: return {"is_hidden_table": False} return {"is_hidden_table": table in (await db.hidden_table_names())} else: return {"is_hidden_table": False}

return is_hidden_table

```

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