Skip to content

chore: typechecking errors 2 #2887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hendrixmar
Copy link

Fixing type hint errors of mypy

@@ -671,7 +671,7 @@ class Resume(BaseModel):
metadata: dict[str, Any] | None = None


class Part(RootModel[TextPart | MediaPart | ToolRequestPart | ToolResponsePart | DataPart | CustomPart]):
class Part(RootModel[tuple[TextPart | MediaPart | ToolRequestPart | ToolResponsePart | DataPart | CustomPart]]):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is tuple type added?

@github-actions github-actions bot added docs Improvements or additions to documentation js go tooling config labels May 22, 2025
@hendrixmar hendrixmar force-pushed the hendrixmar/fix/solve-typechecking-errors-2 branch from 6b5785a to 13bd607 Compare May 22, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config docs Improvements or additions to documentation fix go js python Python tooling
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants