home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 999874886

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/1576#issuecomment-999874886 https://api.github.com/repos/simonw/datasette/issues/1576 999874886 IC_kwDOBm6k_c47mOFG 9599 2021-12-22T20:55:42Z 2021-12-22T20:57:28Z OWNER One way to solve this would be to introduce a `set_task_id()` method, which sets an ID which will be returned by `get_task_id()` instead of using `id(current_task(loop=loop))`. It would be really nice if I could solve this using `with` syntax somehow. Something like: ```python with trace_child_tasks(): ( suggested_facets, (facet_results, facets_timed_out), ) = await asyncio.gather( execute_suggested_facets(), execute_facets(), ) ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1087181951  
Powered by Datasette · Queries took 0.923ms