SciQLop / speasy

Space Physics made EASY! A simple Python package to deal with main Space Physics WebServices (CDA,SSC,AMDA,..)
Other
24 stars 7 forks source link

Adds option to disable webservices, closes #64 #74

Closed jeandet closed 1 year ago

jeandet commented 1 year ago

This adds an undocumented option to disable any web-service support in speasy. As discussed in meeting, this will speedup speasy loading for use-cases where only one web-service is used.

codecov[bot] commented 1 year ago

Codecov Report

Base: 84.39% // Head: 84.56% // Increases project coverage by +0.16% :tada:

Coverage data is based on head (9463eb3) compared to base (eee0640). Patch coverage: 96.15% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #74 +/- ## ========================================== + Coverage 84.39% 84.56% +0.16% ========================================== Files 44 44 Lines 2641 2662 +21 Branches 399 404 +5 ========================================== + Hits 2229 2251 +22 Misses 288 288 + Partials 124 123 -1 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `83.84% <96.15%> (-0.56%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/SciQLop/speasy/pull/74?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop) | Coverage Δ | | |---|---|---| | [...peasy/core/requests\_scheduling/request\_dispatch.py](https://codecov.io/gh/SciQLop/speasy/pull/74/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop#diff-c3BlYXN5L2NvcmUvcmVxdWVzdHNfc2NoZWR1bGluZy9yZXF1ZXN0X2Rpc3BhdGNoLnB5) | `83.46% <96.00%> (+2.15%)` | :arrow_up: | | [speasy/config/\_\_init\_\_.py](https://codecov.io/gh/SciQLop/speasy/pull/74/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop#diff-c3BlYXN5L2NvbmZpZy9fX2luaXRfXy5weQ==) | `95.45% <100.00%> (+0.06%)` | :arrow_up: | | [speasy/core/\_\_init\_\_.py](https://codecov.io/gh/SciQLop/speasy/pull/74/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop#diff-c3BlYXN5L2NvcmUvX19pbml0X18ucHk=) | `90.47% <0.00%> (+1.58%)` | :arrow_up: | | [speasy/core/cache/cache.py](https://codecov.io/gh/SciQLop/speasy/pull/74/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop#diff-c3BlYXN5L2NvcmUvY2FjaGUvY2FjaGUucHk=) | `82.25% <0.00%> (+1.61%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SciQLop)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.