From 9d6d8a28784dc192f2fe773320ea119099c8a43b Mon Sep 17 00:00:00 2001 From: vcidst Date: Mon, 18 Sep 2023 13:33:05 +0200 Subject: [PATCH] add username in RedisLockStore --- rasa/core/lock_store.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rasa/core/lock_store.py b/rasa/core/lock_store.py index b7d495b3f1f5..e8baff134a2e 100644 --- a/rasa/core/lock_store.py +++ b/rasa/core/lock_store.py @@ -200,6 +200,7 @@ def __init__( host: Text = "localhost", port: int = 6379, db: int = 1, + username: Optional[Text] = None, password: Optional[Text] = None, use_ssl: bool = False, ssl_certfile: Optional[Text] = None, @@ -215,6 +216,8 @@ def __init__( port: The port of the redis server. db: The name of the database within Redis which should be used by Rasa Open Source. + username: The username which should be used for authentication with the + Redis database. password: The password which should be used for authentication with the Redis database. use_ssl: `True` if SSL should be used for the connection to Redis. @@ -232,6 +235,7 @@ def __init__( host=host, port=int(port), db=int(db), + username=username, password=password, ssl=use_ssl, ssl_certfile=ssl_certfile,