Skip to content

Preserve caller storage options when filtering missing paths - #280

Open
AryanRG wants to merge 1 commit into
cleanlab:mainfrom
AryanRG:fix/preserve-storage-options
Open

AryanRG wants to merge 1 commit into
cleanlab:mainfrom
AryanRG:fix/preserve-storage-options

Conversation

@AryanRG

@AryanRG AryanRG commented Oct 23, 2026

Copy link
Copy Markdown

Summary

Copy storage_opts before consuming ignore_missing_keys. Reusing the same options dictionary currently loses the flag, so a second Imagelab can retain missing paths and later fail while reading them.

Impact

Preserves caller options for both filepath and folder initialization without changing the filtering behavior.

Testing

Regression tests cover unchanged caller options and repeated initialization. Focused local tests, Black and Flake8 pass. The full optional-backend matrix is not verified locally. Strict typing has an unchanged baseline error, and the docs build needs Pandoc.

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.

1 participant