mirror of
https://github.com/philip306/countapi.git
synced 2024-06-15 10:55:23 +03:00
11 lines
245 B
Python
11 lines
245 B
Python
from pydantic import BaseSettings
|
|
|
|
class Settings(BaseSettings):
|
|
app_name: str = "CountAPI"
|
|
ttlsetting: int = 100000
|
|
redishost: str = '192.168.25.12'
|
|
port: int = 6379
|
|
db: int = 0
|
|
redispass: str = ""
|
|
|
|
settings = Settings() |