mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
b065908490
* fix type hints in BaseSettings.Config * add tests and change notice
8 lines
167 B
Python
8 lines
167 B
Python
from pydantic import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
class Config(BaseSettings.Config):
|
|
env_file = '.env'
|
|
env_file_encoding = 'utf-8'
|