From dfaa76acafa4b9de2d302ee46eb10037dabc55cf Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Fri, 4 Apr 2025 14:34:35 +0200 Subject: [PATCH] changes --- .../computational-clusters/autoscaled_monitor/cli.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/maintenance/computational-clusters/autoscaled_monitor/cli.py b/scripts/maintenance/computational-clusters/autoscaled_monitor/cli.py index e9f936db19f..ac87b6288e1 100644 --- a/scripts/maintenance/computational-clusters/autoscaled_monitor/cli.py +++ b/scripts/maintenance/computational-clusters/autoscaled_monitor/cli.py @@ -177,7 +177,11 @@ def cancel_jobs( @app.command() def trigger_cluster_termination( user_id: Annotated[int, typer.Option(help="the user ID")], - wallet_id: Annotated[int, typer.Option(help="the wallet ID")], + wallet_id: Annotated[ + Optional[int | None], # noqa: UP007 # typer does not understand | syntax + typer.Option(help="the wallet ID"), + ] = None, + *, force: Annotated[bool, typer.Option(help="will not ask for confirmation")] = False, ) -> None: """this will set the Heartbeat tag on the primary machine to 1 hour, thus ensuring the