This commit is contained in:
William Zhu 2024-11-18 17:23:39 -05:00
parent fbdfad35f7
commit 1b4a9e5ce2

View File

@ -3599,7 +3599,7 @@ class RunnableParallel(RunnableSerializable[Input, dict[str, Any]]):
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)