developmentseed / titiler

Build your own Raster dynamic map tile services
https://developmentseed.org/titiler/
MIT License
755 stars 156 forks source link

Adding extra="ignore" option to fix pydantic_settings.SettingsConfigDict issue with environement variables #800

Closed imanshafiei540 closed 5 months ago

imanshafiei540 commented 5 months ago

Closes https://github.com/developmentseed/titiler/issues/799

Context:

pydantic-settings Released a new update (2.2.0) that breaks TiTiler API when using a .env file that contains variables inside.

This PR will solve the issue by adding extra="ignore" to the pydantic_settings.SettingsConfigDict object.

vincentsarago commented 5 months ago

🙏 thanks @imanshafiei540