py3.9 compatibility
This commit is contained in:
parent
cc6beabc07
commit
3354e86cbb
@ -3358,8 +3358,8 @@ def test_fallback_pickle():
|
|||||||
"""Test that state serialization will fall back to dill."""
|
"""Test that state serialization will fall back to dill."""
|
||||||
|
|
||||||
class DillState(BaseState):
|
class DillState(BaseState):
|
||||||
_o: Obj | None = None
|
_o: Optional[Obj] = None
|
||||||
_f: Callable | None = None
|
_f: Optional[Callable] = None
|
||||||
_g: Any = None
|
_g: Any = None
|
||||||
|
|
||||||
state = DillState(_reflex_internal_init=True) # type: ignore
|
state = DillState(_reflex_internal_init=True) # type: ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user