Skip to content

Require description in register_custom_training_container - #1289

Open
Jeremy Rose (jeremyrose-viam) wants to merge 1 commit into
viamrobotics:mainfrom
jeremyrose-viam:docs/register-container-description-required
Open

Jeremy Rose (jeremyrose-viam) wants to merge 1 commit into
viamrobotics:mainfrom
jeremyrose-viam:docs/register-container-description-required

Conversation

@jeremyrose-viam

Copy link
Copy Markdown
Member

The RegisterCustomTrainingContainer RPC rejects an empty description (container description must be specified), but the client method declares description: str = "". Callers who omit it get a server error, and generated API docs list the parameter as optional.

This removes the default and notes in the docstring that the value must not be empty. Callers that already pass description are unaffected.

The = "" default came in with the generated wrappers in #1267.

Tests: tests/test_ml_training_client.py passes; ruff check and ruff format --check are clean.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@viambot

viambot commented Oct 7, 2026

Copy link
Copy Markdown
Member

👋 Thanks for requesting a review from the team!

We aim to review PRs within one business day. If this is urgent
or blocking you, please reach out in #team-sdk and
we'll prioritize it.

This branch has not been deployed

No deployments
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.

2 participants