sci_watch.core.settings module
- class sci_watch.core.settings.Settings(_env_file: Optional[Union[str, PathLike, List[Union[str, PathLike]], Tuple[Union[str, PathLike], ...]]] = '<object object>', _env_file_encoding: Optional[str] = None, _env_nested_delimiter: Optional[str] = None, _secrets_dir: Optional[Union[str, PathLike]] = None, *, log_level: Literal['NOTSET', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL', 'CRITICAL'] = 'DEBUG', gmail_sender: str, gmail_token: str, grammar_path: str, http_proxy: str = None, https_proxy: str = None, log_file_path: str = None)[source]
Bases:
BaseSettings
Settings class, loaded from .env file
- gmail_sender: str
- gmail_token: str
- grammar_path: str
- http_proxy: str
- https_proxy: str
- log_file_path: str
- log_level: Literal['NOTSET', 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL', 'CRITICAL']