[Mypy] Fix typing for M models (#54262)
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com>
This commit is contained in:
@@ -17,10 +17,10 @@ class MultiModelKeys:
|
||||
|
||||
@staticmethod
|
||||
def from_string_field(
|
||||
language_model: str | list[str] = None,
|
||||
connector: str | list[str] = None,
|
||||
tower_model: str | list[str] = None,
|
||||
generator: str | list[str] = None,
|
||||
language_model: str | list[str] | None = None,
|
||||
connector: str | list[str] | None = None,
|
||||
tower_model: str | list[str] | None = None,
|
||||
generator: str | list[str] | None = None,
|
||||
**kwargs,
|
||||
) -> "MultiModelKeys":
|
||||
def to_list(value):
|
||||
|
||||
Reference in New Issue
Block a user