home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 881665383

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/1231#issuecomment-881665383 https://api.github.com/repos/simonw/datasette/issues/1231 881665383 IC_kwDOBm6k_c40jSVn 9599 2021-07-16T19:21:35Z 2021-07-16T19:21:35Z OWNER

https://stackoverflow.com/a/25799871/6083 has a good example of using asyncio.Lock():

```python stuff_lock = asyncio.Lock()

async def get_stuff(url): async with stuff_lock: if url in cache: return cache[url] stuff = await aiohttp.request('GET', url) cache[url] = stuff return stuff ```

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