Skip to content

Commit

Permalink
Add comment in help for DEFAULT value in variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-dorzo committed Dec 9, 2024
1 parent 89bf9a6 commit 98e7316
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ networkx = { extras = ["default"], version = "^3.3" }
openai = "^1.45.0"
openapi3-parser = "^1.1.17"
opentelemetry-exporter-otlp-proto-grpc = "1.27.0"
parlant-client = { git = "http://github.com/emcie-co/parlant-client-python", rev = "v0.7.1" }
parlant-client = { git = "http://github.com/emcie-co/parlant-client-python", rev = "v0.7.2" }
python = "^3.10"
python-dateutil = "^2.8.2"
python-dotenv = "^1.0.1"
Expand Down
7 changes: 6 additions & 1 deletion src/parlant/bin/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2731,7 +2731,12 @@ def variable_delete(
required=False,
)
@click.option("--id", type=str, metavar="ID", help="Variable ID", required=True)
@click.option("--key", type=str, metavar="NAME", help="The key (e.g. customer ID or tag)")
@click.option(
"--key",
type=str,
metavar="NAME",
help='The key (e.g. <CUSTOMER_ID> or "tag:<TAG_ID>" or "DEFAULT" to set a default value)',
)
@click.option("--value", type=str, metavar="TEXT", help="The key's value")
@click.pass_context
def variable_set(
Expand Down

0 comments on commit 98e7316

Please sign in to comment.