mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-19 01:21:50 +00:00
fix make lint issue
This commit is contained in:
parent
e7066bebc7
commit
ac291117d3
@ -3598,9 +3598,8 @@ class RunnableParallel(RunnableSerializable[Input, dict[str, Any]]):
|
|||||||
if v.annotation != Any and k == "root":
|
if v.annotation != Any and k == "root":
|
||||||
return super().get_input_schema(config)
|
return super().get_input_schema(config)
|
||||||
|
|
||||||
|
|
||||||
# This is correct, but pydantic typings/mypy don't think so.
|
# 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"),
|
self.get_name("Input"),
|
||||||
field_definitions={
|
field_definitions={
|
||||||
k: (v.annotation, v.default)
|
k: (v.annotation, v.default)
|
||||||
|
Loading…
Reference in New Issue
Block a user