mirror of https://github.com/hwchase17/langchain
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.pull/11948/head^2
parent
7f17ce3742
commit
392df7b2e3
Loading…
Reference in New Issue