varfish-org / varfish-cli

VarFish REST API client (CLI + Python package)
MIT License
2 stars 3 forks source link

fix: Fixing case list API #37

Closed xiamaz closed 1 year ago

xiamaz commented 1 year ago

Closes #27

varfish-server had the case list API refactored into the cases app and the endpoint is now paginated. I extracted the requests call into a separate recursive function for getting all data from the endpoint and also took the freedom to add case model fields for completeness.

codecov[bot] commented 1 year ago

Codecov Report

Base: 53.81% // Head: 54.04% // Increases project coverage by +0.22% :tada:

Coverage data is based on head (94c8e5b) compared to base (9da7a64). Patch coverage: 94.11% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #37 +/- ## ========================================== + Coverage 53.81% 54.04% +0.22% ========================================== Files 31 31 Lines 2200 2213 +13 ========================================== + Hits 1184 1196 +12 - Misses 1016 1017 +1 ``` | [Impacted Files](https://codecov.io/gh/bihealth/varfish-cli/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bihealth) | Coverage Δ | | |---|---|---| | [varfish\_cli/api/case.py](https://codecov.io/gh/bihealth/varfish-cli/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bihealth#diff-dmFyZmlzaF9jbGkvYXBpL2Nhc2UucHk=) | `20.62% <93.33%> (+1.75%)` | :arrow_up: | | [varfish\_cli/api/models.py](https://codecov.io/gh/bihealth/varfish-cli/pull/37?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bihealth#diff-dmFyZmlzaF9jbGkvYXBpL21vZGVscy5weQ==) | `96.80% <100.00%> (+0.01%)` | :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=bihealth). 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=bihealth)

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