fix make lint issue

This commit is contained in:
William Zhu 2024-11-18 17:17:14 -05:00
parent e7066bebc7
commit ac291117d3

View File

@ -3598,9 +3598,8 @@ class RunnableParallel(RunnableSerializable[Input, dict[str, Any]]):
if v.annotation != Any and k == "root":
return super().get_input_schema(config)
# This is correct, but pydantic typings/mypy don't think so.
return create_model_v2( # type: ignore[call-overload]
return create_model_v2( # type: ignore[call-overload]
self.get_name("Input"),
field_definitions={
k: (v.annotation, v.default)