Skip to content

Commit

Permalink
Intentionally cause ruff errors to check env var works.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Oct 31, 2023
1 parent 4cd8f01 commit 1ee6f88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/langchain/langchain/utils/aiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ def py_anext(
"""

try:
__anext__ = cast(
Callable[[AsyncIterator[T]], Awaitable[T]], type(iterator).__anext__
__anext__ = cast(Callable[[AsyncIterator[T]], Awaitable[T]], type(iterator).__anext__
)
except AttributeError:
raise TypeError(f"{iterator!r} is not an async iterator")
Expand Down

0 comments on commit 1ee6f88

Please sign in to comment.