Skip to content

Commit dfaa76a

Browse files
committed
changes
1 parent 993864d commit dfaa76a

File tree

1 file changed

+5
-1
lines changed
  • scripts/maintenance/computational-clusters/autoscaled_monitor

1 file changed

+5
-1
lines changed

scripts/maintenance/computational-clusters/autoscaled_monitor/cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ def cancel_jobs(
177177
@app.command()
178178
def trigger_cluster_termination(
179179
user_id: Annotated[int, typer.Option(help="the user ID")],
180-
wallet_id: Annotated[int, typer.Option(help="the wallet ID")],
180+
wallet_id: Annotated[
181+
Optional[int | None], # noqa: UP007 # typer does not understand | syntax
182+
typer.Option(help="the wallet ID"),
183+
] = None,
184+
*,
181185
force: Annotated[bool, typer.Option(help="will not ask for confirmation")] = False,
182186
) -> None:
183187
"""this will set the Heartbeat tag on the primary machine to 1 hour, thus ensuring the

0 commit comments

Comments
 (0)