Settings configuration with pydantic