mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-03 01:27:39 +00:00
unify function sigs to make click happy
This commit is contained in:
parent
e84e9422eb
commit
925960fcaf
@ -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) -> Any:
|
||||
def get_default(self, ctx: click.Context, call: bool = True) -> Any:
|
||||
self.default = _value_of(self.callable_default)
|
||||
return super().get_default(ctx)
|
||||
return super().get_default(ctx, call)
|
||||
|
||||
|
||||
def jit_option(*args: Any, **kwargs: Any) -> Callable[[Any], Any]:
|
||||
|
Loading…
Reference in New Issue
Block a user