From fd74dfdbc5351bd6adcbe3ffdbd1d3a1b444fd28 Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Mon, 21 Mar 2022 18:42:53 +0100 Subject: [PATCH] revert click to 7.1.2 again --- requirements.txt | 6 +++--- staking_deposit/utils/click.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 7671fc4..a936538 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,9 +32,9 @@ pycryptodome==3.14.1 \ --hash=sha256:f2772af1c3ef8025c85335f8b828d0193fa1e43256621f613280e2c81bfad423 \ --hash=sha256:f403a3e297a59d94121cb3ee4b1cf41f844332940a62d71f9e4a009cc3533493 \ --hash=sha256:f572a3ff7b6029dd9b904d6be4e0ce9e309dcb847b03e3ac8698d9d23bb36525 -click==8.0.4 \ - --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ - --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb +click==7.1.2 \ + --hash=sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a \ + --hash=sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc ssz==0.2.4 \ --hash=sha256:3c944cd97a38448fe2b145d80d704bd28bc3c5368da9624177b0964e37adaf7e \ --hash=sha256:99c4a7bbaf632113fc28beb8770673637286f7fdade1231e0a2c6fae6331c06d diff --git a/staking_deposit/utils/click.py b/staking_deposit/utils/click.py index 85b5b87..8b9b2ae 100644 --- a/staking_deposit/utils/click.py +++ b/staking_deposit/utils/click.py @@ -52,9 +52,9 @@ class JITOption(click.Option): self.help = _value_of(self.callable_help) return super().get_help_record(ctx) - def get_default(self, ctx: click.Context, call: bool = True) -> Any: + def get_default(self, ctx: click.Context) -> Any: self.default = _value_of(self.callable_default) - return super().get_default(ctx, call) + return super().get_default(ctx) def jit_option(*args: Any, **kwargs: Any) -> Callable[[Any], Any]: