langchain
392df7b2 - Type hints on varargs and kwargs that take anything should be `Any`. (#11950)

Commit
2 years ago
Type hints on varargs and kwargs that take anything should be `Any`. (#11950) Type hinting `*args` as `List[Any]` means that each positional argument should be a list. Type hinting `**kwargs` as `Dict[str, Any]` means that each keyword argument should be a dict of strings. This is almost never what we actually wanted, and doesn't seem to be what we want in any of the cases I'm replacing here.
Author
Parents
Loading