Template
some refactor with redis
This commit is contained in:
+2
-2
@@ -72,10 +72,10 @@ class I18NConfig:
|
||||
@dataclass
|
||||
class StateStorageConfig:
|
||||
type: str
|
||||
redis_host: str
|
||||
redis_host: Optional[str]
|
||||
redis_port: int
|
||||
redis_db: int
|
||||
redis_pass: str
|
||||
redis_pass: Optional[str]
|
||||
|
||||
@classmethod
|
||||
def from_env(cls):
|
||||
|
||||
Reference in New Issue
Block a user