Fix click module path: use click.utils.UNSET instead of click._utils.UNSET

The correct path is click.utils.UNSET, not click._utils.UNSET. This fixes the AttributeError that was causing all tests to fail.
This commit is contained in:
pramod5403 2025-11-10 21:57:32 +05:30 committed by GitHub
parent a6ca4d23bc
commit f062b89072
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -860,7 +860,7 @@ def _validate_key(ctx: click.Context, param: click.Parameter, value: t.Any) -> t
else:
if (
cert is not None
and cert != click._utils.UNSET
and cert != click.utils.UNSET
and not (is_adhoc or is_context)
):
raise click.BadParameter('Required when using "--cert".', ctx, param)