home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 787144523

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/sqlite-utils/issues/242#issuecomment-787144523 https://api.github.com/repos/simonw/sqlite-utils/issues/242 787144523 MDEyOklzc3VlQ29tbWVudDc4NzE0NDUyMw== 9599 2021-02-27T21:18:46Z 2021-02-27T21:18:46Z OWNER

Here's a really wild idea: I wonder if it would be possible to run a source transformation against either the sync or the async versions of the code to produce the equivalent for the other paradigm?

Could that even be as simple as a set of regular expressions against the await ... version that strips out or replaces the await and async def and async for statements?

If so... I could maintain just the async version, generate the sync version with a script and rely on robust unit testing to guarantee that this actually works.

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