Skip to content

fix: report the correct variable type in fingerprint_transform ignore_kwargs validation error#8272

Open
Kropiunig wants to merge 1 commit into
huggingface:mainfrom
Kropiunig:fix/ignore-kwargs-error-type
Open

fix: report the correct variable type in fingerprint_transform ignore_kwargs validation error#8272
Kropiunig wants to merge 1 commit into
huggingface:mainfrom
Kropiunig:fix/ignore-kwargs-error-type

Conversation

@Kropiunig

Copy link
Copy Markdown

The ignore_kwargs validation branch in fingerprint_transform builds its error from type(use_kwargs) instead of type(ignore_kwargs), so an invalid ignore_kwargs is reported with the wrong type while use_kwargs is at its default. The preceding use_kwargs branch already uses type(use_kwargs) correctly; this one-token fix reports the actual offending type.

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