| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Add a new `reuse_validation` parameter to control validation strictness when reusing data from a previous run (`cleanup=False`). This addresses the issue where users have input objects with broken `__eq__` implementations that return incorrect results, preventing them from using the data reuse functionality. Three validation modes: - "auto" (default): Warn if equality comparison fails, proceed anyway (maintains backward compatibility) - "strict": Raise error if equality comparison fails - "skip": Skip input/default validation entirely (for broken __eq__) Note: Shapes and MapSpecs are always validated regardless of mode. Changes: - Added `reuse_validation` parameter to Pipeline.map() and map_async() - Updated all internal run functions (run_map, run_map_eager, etc.) - Implemented validation logic in _compare_to_previous_run_info() - Added comprehensive test suite (8 tests, all passing) - Updated documentation for all affected functions
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match the correct format. Thank you! |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests.
|
Sorry, something went wrong.
CodSpeed Performance ReportMerging #920 will not alter performanceComparing cleanup-validation (d89c861) with main (75db630) Summary✅ 6 untouched |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add a new reuse_validation parameter to control validation strictness when reusing data from a previous run (cleanup=False).
This addresses the issue where users have input objects with broken __eq__ implementations that return incorrect results, preventing them from using the data reuse functionality.
Three validation modes:
Note: Shapes and MapSpecs are always validated regardless of mode.
Changes: