py3.9 compatibility

This commit is contained in:
Masen Furer 2024-10-24 14:16:22 -07:00
parent cc6beabc07
commit 3354e86cbb
No known key found for this signature in database
GPG Key ID: B0008AD22B3B3A95

View File

@ -3358,8 +3358,8 @@ def test_fallback_pickle():
"""Test that state serialization will fall back to dill."""
class DillState(BaseState):
_o: Obj | None = None
_f: Callable | None = None
_o: Optional[Obj] = None
_f: Optional[Callable] = None
_g: Any = None
state = DillState(_reflex_internal_init=True) # type: ignore