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

Fix execution filter #266

Closed soininen closed 11 months ago

soininen commented 11 months ago

This PR updates execution filter to work with latest DatabaseMapping API.

Fixes #265

Checklist before merging

codecov-commenter commented 11 months ago

Codecov Report

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

Comparison is base (7e0a1f3) 75.88% compared to head (cdfb966) 76.14%. Report is 2 commits behind head on 0.8-dev.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.8-dev #266 +/- ## =========================================== + Coverage 75.88% 76.14% +0.26% =========================================== Files 73 73 Lines 8788 8788 Branches 1855 1856 +1 =========================================== + Hits 6669 6692 +23 + Misses 1791 1767 -24 - Partials 328 329 +1 ``` | [Files Changed](https://app.codecov.io/gh/spine-tools/Spine-Database-API/pull/266?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\_base.py](https://app.codecov.io/gh/spine-tools/Spine-Database-API/pull/266?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvZGJfY2FjaGVfYmFzZS5weQ==) | `86.74% <ø> (ø)` | | | [spinedb\_api/db\_mapping\_base.py](https://app.codecov.io/gh/spine-tools/Spine-Database-API/pull/266?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvZGJfbWFwcGluZ19iYXNlLnB5) | `90.17% <ø> (+0.35%)` | :arrow_up: | | [spinedb\_api/filters/execution\_filter.py](https://app.codecov.io/gh/spine-tools/Spine-Database-API/pull/266?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvZmlsdGVycy9leGVjdXRpb25fZmlsdGVyLnB5) | `76.47% <100.00%> (+43.13%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/spine-tools/Spine-Database-API/pull/266/indirect-changes?src=pr&el=tree-more&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: Have feedback on the report? Share it here.