-
-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add exception and warning for a.helio.MaxRecords (#7540)
* add error and warning for a.helio.MaxRecords * reduce warn_user condition code * add exception test for test_client_search * add changelog * Update sunpy/net/helio/hec.py Co-authored-by: Nabil Freij <nabil.freij@gmail.com> * match the message in pytest.raise * make warn_user simpler * add test for warn_user * pre-commit changes * fix changelog reference target * add test_client_search_limit * fix pre-commit * add test_client_search_warning * remove test_client_search_warning * pre-commit * add exception for MaxRecords class * reduce test_client_search_limit * reduced matched message * change test name * remove unnecessary import * fix CI --------- Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
- Loading branch information
1 parent
5dde579
commit b0cb336
Showing
4 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The maximum records in `~sunpy.net.helio.HECClient` now are 20000. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters