countapi/app/conf/config.py

11 lines
237 B
Python
Raw Permalink Normal View History

2020-07-30 16:28:42 +03:00
from pydantic import BaseSettings
class Settings(BaseSettings):
app_name: str = "CountAPI"
ttlsetting: int = 100000
2020-08-01 05:36:12 +03:00
redishost: str = 'redis'
2020-07-30 16:28:42 +03:00
port: int = 6379
db: int = 0
redispass: str = ""
settings = Settings()