- Added CONTENT field to Settings model with Optional type
- Set extra='ignore' in Config to allow extra environment variables
- Added the same config to custom BaseSettings implementation for consistency
- Added missing import for Optional type
- Update endpoint to check for both None and empty string values
- Add more detailed error message for better user experience
- Update documentation to reflect the refined behavior
- Created a new endpoint at /api/v1/env/content that returns the CONTENT environment variable
- Added error handling for when the environment variable is not set
- Updated documentation with new endpoint information and usage examples
- Added environment variables as a new feature in README
Added fallback implementation for environments without pydantic_settings package
and added pydantic-settings to requirements.txt to prevent future issues.
Modified migrations/env.py to properly handle Python import paths in containerized
environments, fixing the 'No module named app' error by adding project root and
container paths to sys.path.