Skip to content

Commit

Permalink
chore: add docstring about the click object
Browse files Browse the repository at this point in the history
Signed-off-by: aarnphm-ec2-dev <[email protected]>
  • Loading branch information
aarnphm committed Jul 20, 2023
1 parent d106ef9 commit d072dcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bentoml_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d072dcb

Please sign in to comment.