home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1352674924

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/1955#issuecomment-1352674924 https://api.github.com/repos/simonw/datasette/issues/1955 1352674924 IC_kwDOBm6k_c5QoC5s 9599 2022-12-15T07:46:36Z 2022-12-15T07:46:36Z OWNER It's possible the fix for this might be for the first incoming HTTP request to trigger `invoke_startup()` if it hasn't been called yet - similar to the hack I put in place for `datasette.client.get()` in tests: https://github.com/simonw/datasette/blob/e054704fb64d1f23154ec43b81b6c9481ff8202f/datasette/app.py#L1728-L1731 This would be a much more elegant fix, I could remove those multiple `invoke_startup()` calls entirely - and remove this tip from the documentation too: https://docs.datasette.io/en/0.63.2/testing_plugins.html#setting-up-a-datasette-test-instance {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1496652622  
Powered by Datasette · Queries took 0.953ms