The pydantic
package comes with built-in BaseSettings
class for us to create a config object with support for .env
file for loading environment variables. No need to install python-dotenv
and load the env. vars. manually!
The pydantic
package comes with built-in BaseSettings
class for us to create a config object with support for .env
file for loading environment variables. No need to install python-dotenv
and load the env. vars. manually!