mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-25 00:52:25 +02:00
Both BinaryOperatorAggregate and DeltaChannel had identical inline logic for comparing operators that may be lambdas. Extract _operators_equal into binop.py (alongside _get_overwrite) and use it in both __eq__ methods. Also removes the duplicate _get_overwrite definition from delta.py — it was identical to binop.py's and is now imported from there instead, along with the now-unused OVERWRITE constant and Overwrite imports. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>