Implement robust configuration handling with multiple sources and validation.
Set up configuration management for: [DESCRIBE YOUR APPLICATION] Configuration needs: - Settings: [LIST KEY SETTINGS] - Sources: [ENV VARS/FILES/CLI/ALL] - Environments: [DEV/STAGING/PROD] - Secrets: [YES/NO] Provide: 1. Configuration class with pydantic-settings 2. Environment variable loading 3. Config file support (YAML/TOML/JSON) 4. Hierarchical configuration 5. Environment-specific overrides 6. Secret management 7. Validation and type coercion 8. Default values 9. Configuration documentation 10. Testing with different configs 11. Runtime configuration updates 12. Configuration as code patterns
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[DESCRIBE YOUR APPLICATION][LIST KEY SETTINGS]