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 entity and value metadata use class_name as unique key #330

Closed soininen closed 9 months ago

soininen commented 9 months ago

class_name is required to uniquely identify entities and parameter values.

Fixes #328 Re #318

Checklist before merging

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (3f785a0) 77.05% compared to head (4f56747) 77.06%.

Files Patch % Lines
spinedb_api/db_mapping.py 0.00% 2 Missing :warning:

: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 #330 +/- ## =========================================== + Coverage 77.05% 77.06% +0.01% =========================================== Files 74 74 Lines 9200 9201 +1 Branches 1944 1944 =========================================== + Hits 7089 7091 +2 + Misses 1779 1778 -1 Partials 332 332 ```

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