From 0177565c6b65c3eec633def9560aa990fb6367eb Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Tue, 21 Jan 2025 15:14:00 -0800 Subject: [PATCH] Spell check --- docs/_scripts/_patch.py | 4 ++-- libs/langgraph/langgraph/pregel/loop.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_scripts/_patch.py b/docs/_scripts/_patch.py index 4b8dd3a8c..bf843b980 100644 --- a/docs/_scripts/_patch.py +++ b/docs/_scripts/_patch.py @@ -31,7 +31,7 @@ def request(self, method, url, body=None, headers=None): The result of calling the parent request method. """ # Update the inner socket's timeout value to send the request. - # This only triggers if the connection is re-used. + # This only triggers if the connection is reused. if getattr(self, "sock", None) is not None: self.sock.settimeout(self.timeout) @@ -90,4 +90,4 @@ def patch_urllib3(): return request(self, *args, **kwargs) connection.HTTPConnection.request = new_request - _PATCHED = True \ No newline at end of file + _PATCHED = True diff --git a/libs/langgraph/langgraph/pregel/loop.py b/libs/langgraph/langgraph/pregel/loop.py index e92f0c267..b329aa3d5 100644 --- a/libs/langgraph/langgraph/pregel/loop.py +++ b/libs/langgraph/langgraph/pregel/loop.py @@ -1084,6 +1084,6 @@ class AsyncPregelLoop(PregelLoop, AsyncContextManager): return await exit_task except asyncio.CancelledError as e: # Bubble up the exit task upon cancellation to permit the API - # consumer to await it before e.g., re-using the DB connection. + # consumer to await it before e.g., reusing the DB connection. e.args = (*e.args, exit_task) raise