home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1668898601

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1668898601 I_kwDOAMm_X85jeV8p 7758 Provide a way to specify how long open_dataset tries to fetch data before timing out 33153877 open 0     6 2023-04-14T20:13:52Z 2023-04-26T15:31:06Z   NONE      

Is your feature request related to a problem?

I encountered an issue with the open_dataset function in my code when the server I fetch data from experienced a network issue. The whole script froze because open_dataset was unable to fetch the data from the server.

Describe the solution you'd like

An argument that allows you to specify how long open_dataset tries to fetch the data before timing out.

Describe alternatives you've considered

Right now I'm considering trying to send a HEAD request to the server and checking the response with a try-except block to catch a bad status code. I'm not sure how robust this alternative is, and I would prefer if there would be a way to natively specify a timeout in open_dataset.

Additional context

No response

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7758/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 0.935ms · About: xarray-datasette