Skip to content

docs: fix parameter name mismatches in docstrings#5648

Closed
eeshsaxena wants to merge 1 commit into
bentoml:mainfrom
eeshsaxena:fix-docstring-param-names
Closed

docs: fix parameter name mismatches in docstrings#5648
eeshsaxena wants to merge 1 commit into
bentoml:mainfrom
eeshsaxena:fix-docstring-param-names

Conversation

@eeshsaxena

Copy link
Copy Markdown

What does this PR address?

Fixes two docstrings where the documented parameter name does not match the actual function signature:

File Function Docstring said Signature has
src/bentoml/_internal/models/model.py Model.to_runner runnable_method_configs method_configs
src/bentoml/_internal/utils/analytics/usage_stats.py get_metrics_report grpc serve_kind

Doc-only change; no behavior modified.

Before submitting:

- models/model.py: `runnable_method_configs` -> `method_configs` in
  Model.to_runner
- utils/analytics/usage_stats.py: stale `grpc` arg in
  get_metrics_report replaced with the actual `serve_kind` parameter

Signed-off-by: eeshsaxena <eeshsaxena@gmail.com>
@eeshsaxena
eeshsaxena requested a review from a team as a code owner July 3, 2026 12:51
@eeshsaxena
eeshsaxena requested review from ssheng and removed request for a team July 3, 2026 12:51
@eeshsaxena eeshsaxena closed this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant