from typing import TypedDict class EncryptionConfig(TypedDict): ENCRYPTION_KEY_VALID: str ENCRYPTION_KEY: str class DatabaseConfig(TypedDict): DB_HOST: str DB_USER: str DB_PASS: str DB_NAME: str DB_PORT: str class Config(TypedDict): database: DatabaseConfig pyqcrm: EncryptionConfig