py3.9 annotation

This commit is contained in:
Masen Furer 2024-12-12 02:04:55 -08:00
parent c52848a120
commit b9de47f4b3
No known key found for this signature in database
GPG Key ID: B0008AD22B3B3A95

View File

@ -3252,7 +3252,7 @@ class StateManagerRedis(StateManager):
lock_expiration: int = pydantic.Field(default_factory=_default_lock_expiration)
# If HEXPIRE is not supported, use EXPIRE instead.
_hexpire_not_supported: bool | None = pydantic.PrivateAttr(None)
_hexpire_not_supported: Optional[bool] = pydantic.PrivateAttr(None)
# The keyspace subscription string when redis is waiting for lock to be released
_redis_notify_keyspace_events: str = (