Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

16 rindas
514 B

  1. class Settings:
  2. PROJECT_NAME: str = "VMS"
  3. PROJECT_VERSION: str = "1.0.0"
  4. POSTGRES_USER: str = "VMSBase"
  5. POSTGRES_PASSWORD = "VMSBasePass"
  6. POSTGRES_SERVER: str = "localhost"
  7. POSTGRES_PORT: str = "5432"
  8. POSTGRES_DB: str = "VMSData"
  9. DATABASE_URL = f"postgresql://{POSTGRES_USER}:{POSTGRES_PASSWORD}@{POSTGRES_SERVER}:{POSTGRES_PORT}/{POSTGRES_DB}"
  10. ACCESS_TOKEN_EXPIRE: int = 30
  11. SECRET_KEY: str = "tH357aC6oA7ofCaN3yTffYkRh"
  12. ALGORITHM: str = "HS256"
  13. settings = Settings()