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 (#30856)
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:
parent
a4ca1fe0ed
commit
ef5aff3b6c
@ -99,4 +99,4 @@ def __getattr__(attr_name: str) -> object:
|
||||
|
||||
|
||||
def __dir__() -> list[str]:
|
||||
return list(__all__)
|
||||
return __all__
|
||||
|
Loading…
Reference in New Issue
Block a user