We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993864d commit e11ff32Copy full SHA for e11ff32
scripts/maintenance/computational-clusters/autoscaled_monitor/cli.py
@@ -177,7 +177,11 @@ def cancel_jobs(
177
@app.command()
178
def trigger_cluster_termination(
179
user_id: Annotated[int, typer.Option(help="the user ID")],
180
- wallet_id: Annotated[int, typer.Option(help="the wallet ID")],
+ wallet_id: Annotated[
181
+ Optional[int | None], # noqa: UP007 # typer does not understand | syntax
182
+ typer.Option(help="the wallet ID"),
183
+ ] = None,
184
+ *,
185
force: Annotated[bool, typer.Option(help="will not ask for confirmation")] = False,
186
) -> None:
187
"""this will set the Heartbeat tag on the primary machine to 1 hour, thus ensuring the
0 commit comments