Skip to content

Commit 703153b

Browse files
authored
fix url type
1 parent ff70de3 commit 703153b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
import functools
33
import logging
44

5-
from pydantic import AnyUrl, BaseSettings, HttpUrl
5+
from pydantic import AnyUrl, BaseSettings
66

77
CFG_LOGGER = logging.getLogger("app.config")
88

99

1010
class _Settings(BaseSettings):
1111
port: int = 5000
12-
rediscloud_url: HttpUrl = None
12+
rediscloud_url: AnyUrl = None
1313
local_redis_url: AnyUrl = None
1414

1515

0 commit comments

Comments
 (0)