You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix `multiple` and variadic (`nargs=-1`) options typed with `EnumChoice`: their tuple default was stringified as a whole (`str((MyEnum.FOO,))`) instead of per member, so the default tripped Click's `Value must be an iterable` check when the option was left unset.
11
-
- Fix `decorator_factory` leaking options across uses of a pre-instantiated decorator: when `command()`is stored (e.g. in a pytest parametrize list) and reused, Click mutated the shared `params` list by extending it with each decorated function's options, adding duplicates on every reuse. The fix re-evaluates `params_func()` fresh on each application.
11
+
- Fix `decorator_factory` leaking options across reuses of a pre-instantiated decorator: applying the same `command()`or `group()` decorator to several functions accumulated duplicate parameters, because Click extended its shared `params` list in place on each use.
0 commit comments