mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-19 05:13:46 +00:00
Lint
This commit is contained in:
parent
f7dd10b820
commit
a6afd45c63
@ -7,6 +7,7 @@ from typing import (
|
|||||||
Optional,
|
Optional,
|
||||||
Sequence,
|
Sequence,
|
||||||
Tuple,
|
Tuple,
|
||||||
|
Type,
|
||||||
Union,
|
Union,
|
||||||
cast,
|
cast,
|
||||||
)
|
)
|
||||||
@ -125,7 +126,7 @@ class RunnableBranch(RunnableSerializable[Input, Output]):
|
|||||||
return cls.__module__.split(".")[:-1]
|
return cls.__module__.split(".")[:-1]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def input_schema(self) -> type[BaseModel]:
|
def input_schema(self) -> Type[BaseModel]:
|
||||||
runnables = (
|
runnables = (
|
||||||
[self.default]
|
[self.default]
|
||||||
+ [r for _, r in self.branches]
|
+ [r for _, r in self.branches]
|
||||||
|
Loading…
Reference in New Issue
Block a user