countapi/app/config.py
philip306 0b6d20c6f2 init
2020-07-30 09:28:42 -04:00

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()