Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions gradient/cli/notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ def notebook_metrics():


@notebooks_group.command("create", help="Create new notebook")
@click.option(
"--clusterId",
"cluster_id",
type=str,
help="Cluster ID",
cls=common.GradientOption,
)
@click.option(
"--machineType",
"machine_type",
Expand All @@ -40,20 +33,21 @@ def notebook_metrics():
help="Virtual Machine type label e.g. P5000",
cls=common.GradientOption,
)
@click.option(
"--containerId",
"container_id",
type=int,
help="Container ID",
cls=common.GradientOption,
)
@click.option(
"--container",
"container",
required=True,
type=str,
help="Container name",
cls=common.GradientOption,
)
@click.option(
"--clusterId",
"cluster_id",
type=str,
help="Cluster ID",
cls=common.GradientOption,
)
@click.option(
"--name",
"name",
Expand Down Expand Up @@ -427,6 +421,7 @@ def artifacts():
@click.option(
"--id",
"notebook_id",
required=True,
cls=common.GradientOption,
help="ID of the notebook",
)
Expand Down