-
Notifications
You must be signed in to change notification settings - Fork 17.9k
core: Fix some missing generic types #31658
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
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
CodSpeed WallTime Performance ReportMerging #31658 will not alter performanceComparing
|
CodSpeed Instrumentation Performance ReportMerging #31658 will not alter performanceComparing Summary
|
b16dda7
to
d96c3e6
Compare
messages = convert_to_messages(messages) | ||
messages_: Iterable[MessageLikeRepresentation] = ( | ||
[messages] | ||
if (is_single := isinstance(messages, (BaseMessage, dict, str, tuple))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it correct to add tuple
to the type check ? It seems to be missing.
e6f2672
to
e304d63
Compare
e304d63
to
966b653
Compare
See https://mypy.readthedocs.io/en/stable/config_file.html#confval-disallow_any_generics