Skip to content

Commit 7eb9474

Browse files
author
Vitaly Sergeyev
committed
Optional typing
Signed-off-by: Vitaly Sergeyev <vsergeyev@better.com>
1 parent 4a77f82 commit 7eb9474

File tree

1 file changed

+1
-1
lines changed
  • sdk/python/feast/infra/online_stores

1 file changed

+1
-1
lines changed

sdk/python/feast/infra/online_stores/redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class RedisOnlineStoreConfig(FeastConfigBaseModel):
6868
"""Connection string containing the host, port, and configuration parameters for Redis
6969
format: host:port,parameter1,parameter2 eg. redis:6379,db=0 """
7070

71-
key_ttl_seconds: int = None
71+
key_ttl_seconds: Optional[int] = None
7272
"""(Optional) redis key bin ttl (in seconds) for expiring entities"""
7373

7474

0 commit comments

Comments
 (0)