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

Add keyword arg to keep existing cache item #234

Closed manuelma closed 1 year ago

manuelma commented 1 year ago

Useful for reload action of Spine DB Editor.

Checklist before merging

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 20.00% and project coverage change: -0.04 :warning:

Comparison is base (3e9aeb2) 75.29% compared to head (d75f8ea) 75.26%.

: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 #234 +/- ## ========================================== - Coverage 75.29% 75.26% -0.04% ========================================== Files 76 76 Lines 10893 10894 +1 Branches 2366 2367 +1 ========================================== - Hits 8202 8199 -3 - Misses 2255 2258 +3 - Partials 436 437 +1 ``` | [Impacted Files](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/234?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\_cache.py](https://codecov.io/gh/spine-tools/Spine-Database-API/pull/234?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvZGJfY2FjaGUucHk=) | `74.62% <20.00%> (-0.95%)` | :arrow_down: | 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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.