chore: drop Python 3.9 (and syntax) (#6289)

* `strict=False` is the default, pyupgrade to min version 3.10 adds this
to be explicit w/ behavior
This commit is contained in:
Sydney Runkle
2025-10-16 20:17:46 -04:00
committed by GitHub
parent 06f9142419
commit 2d3121a17c
113 changed files with 730 additions and 1489 deletions
+2 -3
View File
@@ -2,7 +2,6 @@ import os
import tempfile
from collections import defaultdict
from functools import partial
from typing import Optional
from langgraph.checkpoint.base import (
ChannelVersions,
@@ -20,8 +19,8 @@ class MemorySaverAssertImmutable(InMemorySaver):
def __init__(
self,
*,
serde: Optional[SerializerProtocol] = None,
put_sleep: Optional[float] = None,
serde: SerializerProtocol | None = None,
put_sleep: float | None = None,
) -> None:
_, filename = tempfile.mkstemp()
super().__init__(