home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1373595927

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
1373595927 I_kwDOBm6k_c5R32kX 1809 `prepare_jinja2_environment()` hook should take `datasette` argument 9599 closed 0     11 2022-09-14T21:15:46Z 2022-09-17T03:39:05Z 2022-09-17T03:38:33Z OWNER  

That plugin hook's current signature is:

https://github.com/simonw/datasette/blob/610425460b519e9c16d386cb81aa081c9d730ef0/datasette/hookspecs.py#L28-L30

As a result in the first alpha release of datasette-edit-templates I had to include this horrific hack: https://github.com/simonw/datasette-edit-templates/blob/087f6a6cabc20020f2b0524f11aa3a7836320848/datasette_edit_templates/init.py#L72-L75

python @hookimpl def prepare_jinja2_environment(env): # TODO: This should ideally take datasette, but that's not an argument yet datasette = inspect.currentframe().f_back.f_back.f_back.f_back.f_locals["self"]

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/1809/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
  • 11 rows from issue in issue_comments
Powered by Datasette · Queries took 0.897ms · About: github-to-sqlite