Files
pydantic/tests/mypy/modules/settings_config.py
T
Samuel Colvin b065908490 fix type hints in BaseSettings.Config (#4450)
* fix type hints in BaseSettings.Config

* add tests and change notice
2022-08-30 13:08:23 +01:00

8 lines
167 B
Python

from pydantic import BaseSettings
class Settings(BaseSettings):
class Config(BaseSettings.Config):
env_file = '.env'
env_file_encoding = 'utf-8'