home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 693005033

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/943#issuecomment-693005033 https://api.github.com/repos/simonw/datasette/issues/943 693005033 MDEyOklzc3VlQ29tbWVudDY5MzAwNTAzMw== 9599 2020-09-15T22:06:58Z 2020-09-15T22:10:58Z OWNER

What if datasette.get() was an alias for httpx.get(), pre-configured to route to the correct application? And with some sugar that added http://localhost/ to the beginning of the path if it was missing?

This would make httpx a dependency of core Datasette, which I think is OK.

It would also solve the return type problem: I would return whatever httpx returns.

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