From d072dcb4001d86b7998af86594ec9d946b4ce731 Mon Sep 17 00:00:00 2001 From: aarnphm-ec2-dev <29749331+aarnphm@users.noreply.github.com> Date: Thu, 20 Jul 2023 17:22:06 +0000 Subject: [PATCH] chore: add docstring about the click object Signed-off-by: aarnphm-ec2-dev <29749331+aarnphm@users.noreply.github.com> --- src/bentoml_cli/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bentoml_cli/utils.py b/src/bentoml_cli/utils.py index 3dc351576dd..0c5b3acc106 100644 --- a/src/bentoml_cli/utils.py +++ b/src/bentoml_cli/utils.py @@ -194,6 +194,8 @@ def opt_callback(ctx: Context, param: Parameter, value: ClickParamType): @attr.define class Cli: + """This is the click.Context object that will be used in BentoML CLI.""" + context: str | None = attr.field(default=None) def with_options(self, **attrs: t.Any) -> t.Any: