Skip to content

Commit 096c3b7

Browse files
fix port
1 parent 319f269 commit 096c3b7

File tree

1 file changed

+1
-2
lines changed
  • packages/settings-library/src/settings_library

1 file changed

+1
-2
lines changed

packages/settings-library/src/settings_library/redis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from enum import IntEnum
22

3-
from pydantic import TypeAdapter
43
from pydantic.networks import RedisDsn
54
from pydantic.types import SecretStr
65

@@ -25,7 +24,7 @@ class RedisSettings(BaseCustomSettings):
2524
# host
2625
REDIS_SECURE: bool = False
2726
REDIS_HOST: str = "redis"
28-
REDIS_PORT: PortInt = TypeAdapter(PortInt).validate_python(6789)
27+
REDIS_PORT: PortInt = 6789
2928

3029
# auth
3130
REDIS_USER: str | None = None

0 commit comments

Comments
 (0)