We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 319f269 commit 096c3b7Copy full SHA for 096c3b7
packages/settings-library/src/settings_library/redis.py
@@ -1,6 +1,5 @@
1
from enum import IntEnum
2
3
-from pydantic import TypeAdapter
4
from pydantic.networks import RedisDsn
5
from pydantic.types import SecretStr
6
@@ -25,7 +24,7 @@ class RedisSettings(BaseCustomSettings):
25
24
# host
26
REDIS_SECURE: bool = False
27
REDIS_HOST: str = "redis"
28
- REDIS_PORT: PortInt = TypeAdapter(PortInt).validate_python(6789)
+ REDIS_PORT: PortInt = 6789
29
30
# auth
31
REDIS_USER: str | None = None
0 commit comments