khaeru / sdmx

SDMX information model and client in Python
https://sdmx1.readthedocs.io
Apache License 2.0
24 stars 18 forks source link

Return None if response is empty #174

Open edkry opened 5 months ago

edkry commented 5 months ago

Required: If there is no data for a table with specific parameters, it should return None.

PR checklist

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 97.80%. Comparing base (8d5e467) to head (3190fa7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #174 +/- ## ========================================== - Coverage 98.86% 97.80% -1.07% ========================================== Files 94 94 Lines 7431 7433 +2 ========================================== - Hits 7347 7270 -77 - Misses 84 163 +79 ``` | [Files](https://app.codecov.io/gh/khaeru/sdmx/pull/174?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Natsuo+Kishimoto) | Coverage Δ | | |---|---|---| | [sdmx/client.py](https://app.codecov.io/gh/khaeru/sdmx/pull/174?src=pr&el=tree&filepath=sdmx%2Fclient.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Natsuo+Kishimoto#diff-c2RteC9jbGllbnQucHk=) | `93.51% <50.00%> (-5.40%)` | :arrow_down: | ... and [17 files with indirect coverage changes](https://app.codecov.io/gh/khaeru/sdmx/pull/174/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Paul+Natsuo+Kishimoto)