1
0
mirror of https://github.com/hwchase17/langchain.git synced 2025-05-03 22:28:04 +00:00

core[fix]: Fix __dir__ in __init__.py for output_parsers module ()

We have a `list.py` file which causes a namespace conflict with `list`
from stdlib, unfortunately.

`__all__` is already a list, so no need to coerce.
This commit is contained in:
Sydney Runkle 2025-04-15 13:09:13 -04:00 committed by GitHub
parent a4ca1fe0ed
commit ef5aff3b6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,4 +99,4 @@ def __getattr__(attr_name: str) -> object:
def __dir__() -> list[str]:
return list(__all__)
return __all__