fastdup icon indicating copy to clipboard operation
fastdup copied to clipboard

[Bug]: component_gallery() contains kwargs where none are needed

Open guy-singer opened this issue 11 months ago • 0 comments

What happened?

the component_gallery() contains **kwargs, even though there is no direct benefit to including these. This means that if a user includes an invalid argument, no error is returned, and the user may not be aware that their code did not execute as intended due to the invalid argument. For example, a user may misspell "num_images", and mistakenly believe the function will return the number of images they meant to specify, when in reality the function will effectively ignore the argument.

What did you expect to see?

No response

What version of fastdup were you runnning on?

current version

What version of Python were you running on?

Python 3.10

Operating System

MacOs

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

guy-singer avatar Jul 30 '23 12:07 guy-singer