File size: 371 Bytes
55fd541
 
 
 
 
 
 
 
 
 
 
d9d1b31
55fd541
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    database_hostname: str
    database_port: str
    database_password: str
    database_name: str
    database_username: str
    secret_key: str
    algorithm: str
    access_token_expire_minutes: int
    test_database_name: str

    class Config:
        env_file = ".env"

setting = Settings()