Skip to content

Commit

Permalink
refactor: use existing default
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Jan 2, 2024
1 parent 0b825b5 commit 375d77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions silverback/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def run_worker(broker: AsyncBroker, worker_count=2, shutdown_timeout=90):
@cli.command(cls=ConnectedProviderCommand, help="Run Silverback application client")
@ape_cli_context()
@verbosity_option()
@network_option(default=None, callback=_network_callback)
@network_option(callback=_network_callback)
@click.option("--account", type=AccountAliasPromptChoice(), callback=_account_callback)
@click.option(
"--runner",
Expand All @@ -87,7 +87,7 @@ def run(cli_ctx, account, runner, max_exceptions, path):
@cli.command(cls=ConnectedProviderCommand, help="Run Silverback application task workers")
@ape_cli_context()
@verbosity_option()
@network_option(default=None, callback=_network_callback)
@network_option(callback=_network_callback)
@click.option("--account", type=AccountAliasPromptChoice(), callback=_account_callback)
@click.option("-w", "--workers", type=int, default=2)
@click.option("-x", "--max-exceptions", type=int, default=3)
Expand Down

0 comments on commit 375d77a

Please sign in to comment.