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

Make compatibility transforms optional on commit #375

Closed soininen closed 3 months ago

soininen commented 3 months ago

Some clients like DB manager may want to apply the compatibility transforms that take place on commit themselves.

Re spine-tools/Spine-Toolbox#2625

Checklist before merging

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 78.22%. Comparing base (5f8052d) to head (7fe60ec). Report is 1 commits behind head on 0.8-dev.

Files Patch % Lines
spinedb_api/compatibility.py 70.58% 1 Missing and 4 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.8-dev #375 +/- ## =========================================== - Coverage 78.25% 78.22% -0.03% =========================================== Files 75 75 Lines 9432 9435 +3 Branches 1996 1999 +3 =========================================== Hits 7381 7381 Misses 1724 1724 - Partials 327 330 +3 ```

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