Coverage for espie_character_gen/__init__.py: 100%
15 statements
« prev ^ index » next coverage.py v7.7.0, created at 2025-03-20 04:36 +0000
« prev ^ index » next coverage.py v7.7.0, created at 2025-03-20 04:36 +0000
1"""
2.. include:: ../README.md
3 :start-line: 2
4 :end-before: Contribution
5"""
7import logging
8from pydantic_settings import BaseSettings
11class Configs(BaseSettings):
12 cors_methods: set[str] = ["*"]
13 cors_headers: set[str] = ["*"]
14 cors_origins: set[str] = ["*"]
15 cors_allow_credentials: bool = True
16 log_level: str = "DEBUG"
17 oauth_issuer: str = ""
18 oauth_domain: str = ""
19 oauth_algorithms: str = ""
20 oauth_audience: str = ""
21 secret_key: str = "SUPER FUCKIN SECRET DONT WORRY ABOUT IT BUDDY"
24configs = Configs()
27logging.basicConfig(level=configs.log_level)