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