Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions sdk/python/kfp/cli/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,13 @@ def build_image(self, platform: str, push_image: bool):
f'Built and pushed component container {self._target_image}')


@click.group()
def component():
@click.group(invoke_without_command=True)
@click.pass_context
def component(ctx: click.Context):
"""Builds shareable, containerized components."""
if ctx.invoked_subcommand is None:
click.echo(ctx.get_help())
ctx.exit(0)


@component.command()
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# the following in this folder:
# pip-compile --no-emit-index-url requirements.in

click==8.1.8
click>=8.1.8
click-option-group==0.5.7
docstring-parser>=0.7.3,<1
# Pin google-api-core version for the bug fixing in 1.31.5
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ certifi==2025.10.5
# requests
charset-normalizer==3.4.3
# via requests
click==8.1.8
click>=8.1.8
# via
# -r requirements.in
# click-option-group
Expand Down
Loading