Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@LennartGevers
Copy link
Contributor

Hey @basnijholt, I just realized that you've already implemented the _utils._is_equal functions which also compares more intricate datatypes that are not / should not be compared with just __eq__. I thought I could make this function public and use it in the comparsion of default values (#856) function to have less situations where it fails to compare default values.

@codecov
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
pipefunc/_pipeline/_validation.py 100.00% <100.00%> (ø)
pipefunc/_utils.py 99.63% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LennartGevers LennartGevers force-pushed the pipefunc_fix_validation_bug branch from a5ff42f to e06291a Compare July 13, 2025 20:32
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 13, 2025

CodSpeed Performance Report

Merging #860 will not alter performance

Comparing LennartGevers:pipefunc_fix_validation_bug (0f69478) with main (9772f74)

Summary

✅ 6 untouched benchmarks

@basnijholt
Copy link
Collaborator

Great idea!

However, I need to take another look at the is_equal function. It might return None if a dictionary comparison fails and currently, it will simply say they're not equal instead of issuing a warning.

@github-actions
Copy link
Contributor

✅ PR Title Formatted Correctly

The title of this PR has been updated to match the correct format. Thank you!

@basnijholt
Copy link
Collaborator

I opened and merged #863 which fixes a bug in is_equal, then I merged in those changes here.

@basnijholt basnijholt merged commit 63c5d38 into pipefunc:main Jul 15, 2025
19 checks passed
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.

2 participants