From 0cc45f7a35eb887e7dd4bc793907011da83fe9e6 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Mon, 11 Nov 2024 13:04:23 -0800 Subject: [PATCH] Lint --- libs/langgraph/langgraph/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/types.py b/libs/langgraph/langgraph/types.py index 0a3c22f34..a227186bb 100644 --- a/libs/langgraph/langgraph/types.py +++ b/libs/langgraph/langgraph/types.py @@ -256,7 +256,7 @@ class Command: ) return f"Command({contents})" - def __eq__(self, value): + def __eq__(self, value: Any) -> bool: return type(value) is type(self) and all( getattr(self, key) == getattr(value, key) for key in self.__all_slots__ )