spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Remove items also from cache #222

Closed manuelma closed 1 year ago

manuelma commented 1 year ago

The DatabaseMapping became a lot more persistent after the more asynch changes.

Checklist before merging

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.35 :tada:

Comparison is base (8d175f0) 75.13% compared to head (9d62bdc) 75.49%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #222 +/- ## ========================================== + Coverage 75.13% 75.49% +0.35% ========================================== Files 76 76 Lines 10836 10858 +22 Branches 2006 2350 +344 ========================================== + Hits 8142 8197 +55 + Misses 2259 2237 -22 + Partials 435 424 -11 ``` | [Impacted Files](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools) | Coverage Δ | | |---|---|---| | [spinedb\_api/db\_mapping\_remove\_mixin.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvZGJfbWFwcGluZ19yZW1vdmVfbWl4aW4ucHk=) | `96.55% <100.00%> (+0.08%)` | :arrow_up: | | [spinedb\_api/spine\_db\_server.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvc3BpbmVfZGJfc2VydmVyLnB5) | `31.63% <0.00%> (-0.25%)` | :arrow_down: | | [spinedb\_api/spine\_io/importers/excel\_reader.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvc3BpbmVfaW8vaW1wb3J0ZXJzL2V4Y2VsX3JlYWRlci5weQ==) | `66.46% <0.00%> (-0.21%)` | :arrow_down: | | [spinedb\_api/spine\_db\_client.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvc3BpbmVfZGJfY2xpZW50LnB5) | `49.01% <0.00%> (ø)` | | | [spinedb\_api/spine\_io/importers/json\_reader.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvc3BpbmVfaW8vaW1wb3J0ZXJzL2pzb25fcmVhZGVyLnB5) | `39.62% <0.00%> (ø)` | | | [spinedb\_api/import\_mapping/import\_mapping.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvaW1wb3J0X21hcHBpbmcvaW1wb3J0X21hcHBpbmcucHk=) | `86.62% <0.00%> (+0.02%)` | :arrow_up: | | [spinedb\_api/mapping.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvbWFwcGluZy5weQ==) | `86.08% <0.00%> (+0.12%)` | :arrow_up: | | [spinedb\_api/helpers.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvaGVscGVycy5weQ==) | `57.93% <0.00%> (+0.14%)` | :arrow_up: | | [spinedb\_api/server\_client\_helpers.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvc2VydmVyX2NsaWVudF9oZWxwZXJzLnB5) | `33.33% <0.00%> (+0.52%)` | :arrow_up: | | [spinedb\_api/spine\_io/importers/csv\_reader.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvc3BpbmVfaW8vaW1wb3J0ZXJzL2Nzdl9yZWFkZXIucHk=) | `71.42% <0.00%> (+0.97%)` | :arrow_up: | | ... and [9 more](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/222?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools) | | 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=spine-tools). 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=spine-tools)

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