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 CommitItem #293

Closed soininen closed 8 months ago

soininen commented 8 months ago

This makes it possible to get_items("commit"). Handy for things like Database editor's Commit viewer.

Fixes #spine-tools/Spine-Toolbox#2366

Checklist before merging

codecov-commenter commented 8 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (edf8fb6) 76.96% compared to head (b213b5a) 76.96%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.8-dev #293 +/- ## ======================================== Coverage 76.96% 76.96% ======================================== Files 73 73 Lines 9043 9048 +5 Branches 1925 1925 ======================================== + Hits 6960 6964 +4 - Misses 1752 1753 +1 Partials 331 331 ``` | [Files](https://app.codecov.io/gh/spine-tools/Spine-Database-API/pull/293?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools) | Coverage Δ | | |---|---|---| | [spinedb\_api/mapped\_items.py](https://app.codecov.io/gh/spine-tools/Spine-Database-API/pull/293?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVkYl9hcGkvbWFwcGVkX2l0ZW1zLnB5) | `89.02% <80.00%> (-0.15%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.