Skip to content

Conversation

@nabobalis
Copy link
Member

@nabobalis nabobalis commented Jan 30, 2025

Fixes #53

@nabobalis nabobalis marked this pull request as ready for review January 30, 2025 21:34
@nabobalis nabobalis changed the title Add headers Add headers and timeout Jan 30, 2025
@nabobalis nabobalis closed this Feb 3, 2025
@nabobalis nabobalis reopened this Feb 3, 2025
Copy link
Member

@samaloney samaloney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix itself looks good.

I wonder about the changes to make the tests, examples run, I guess once JSOC is completely back we should revert and make sure the current ones work?

@nabobalis
Copy link
Member Author

Yeah I need to revert the skipped tests in the future to ensure that all still works.

>>> export_request = client.export('hmi.v_45s[2016.04.01_TAI/1d@6h]{Dopplergram}') # doctest: +REMOTE_DATA
>>> export_request # doctest: +REMOTE_DATA
>>> export_request # doctest: +SKIP
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just skip the whole file? wouldn't it be easier to revert?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to see what was broken.

@nabobalis nabobalis merged commit 31d675e into main Feb 5, 2025
15 checks passed
@nabobalis nabobalis deleted the add_headers branch February 5, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DRMS Client class URL requests fail to timeout

3 participants