Skip to content

fix: correct return types and copy-paste errors from docstring review - #9

Merged
royerloic merged 1 commit into
mainfrom
fix/docstring-review-followup
Feb 14, 2026
Merged

royerloic merged 1 commit into
mainfrom
fix/docstring-review-followup

Conversation

@royerloic

Copy link
Copy Markdown
Member

Summary

  • Fix describe_image return type from -> str to -> Optional[str] in base_api.py and default_api.py (method can return None when all retries are exhausted)
  • Fix copy-paste comment "Return the video embeddings" → "Return the document embeddings" in embed_documents
  • Fix docstring return type bool → Optional[bool] in combined_api.py to match signature
  • Fix broken indentation in base_api.py supports_features docstring

Test plan

  • CI passes (no code logic changes, only type annotations, comments, and docstrings)

🤖 Generated with Claude Code

…trings

- Fix `describe_image` return type: `-> str` to `-> Optional[str]` in both
  base_api.py and default_api.py (method can return None)
- Fix copy-paste comment "Return the video embeddings" in embed_documents
- Fix docstring return type `bool` to `Optional[bool]` in combined_api.py
- Fix broken indentation in base_api.py supports_features docstring

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@royerloic
royerloic merged commit 8320651 into main Feb 14, 2026
5 checks passed
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