Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix adding parameter definition when db has parameter types #448

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

soininen
Copy link
Collaborator

@soininen soininen commented Sep 13, 2024

This PR fixes a Traceback when adding parameter definitions to database that has parameter types.

Fixes spine-tools/Spine-Toolbox#2932

Checklist before merging

  • Documentation (also in Toolbox repo) is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

@soininen soininen force-pushed the toolbox_2932_fix_add_with_parameter_type branch from f5d4c00 to cd7367d Compare September 13, 2024 11:56
Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.10%. Comparing base (e022a81) to head (cd7367d).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #448      +/-   ##
==========================================
+ Coverage   79.09%   79.10%   +0.01%     
==========================================
  Files          77       77              
  Lines       10069    10076       +7     
  Branches     2137     2140       +3     
==========================================
+ Hits         7964     7971       +7     
  Misses       1755     1755              
  Partials      350      350              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soininen soininen merged commit 7e55a21 into master Sep 13, 2024
14 checks passed
@soininen soininen deleted the toolbox_2932_fix_add_with_parameter_type branch September 13, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding new parameter definitions to db with parameter types set fails
1 participant