mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fmt
This commit is contained in:
parent
345922a970
commit
7b5df819b1
1 changed files with 4 additions and 1 deletions
|
|
@ -215,7 +215,10 @@ class AppConfig:
|
||||||
_redis_key_prefix: str
|
_redis_key_prefix: str
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self, redis_url: Optional[str] = None, redis_sentinels: Optional[list] = [], redis_key_prefix: str = "open-webui"
|
self,
|
||||||
|
redis_url: Optional[str] = None,
|
||||||
|
redis_sentinels: Optional[list] = [],
|
||||||
|
redis_key_prefix: str = "open-webui",
|
||||||
):
|
):
|
||||||
super().__setattr__("_state", {})
|
super().__setattr__("_state", {})
|
||||||
super().__setattr__("_redis_key_prefix", redis_key_prefix)
|
super().__setattr__("_redis_key_prefix", redis_key_prefix)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue