get_load_dotenv
Get whether the user has disabled loading default dotenv files by setting :envvar:FLASK_SKIP_DOTENV. The default is True, load the files.
def get_load_dotenv(
default: bool = True
) - > bool
Get whether the user has disabled loading default dotenv files by setting :envvar:FLASK_SKIP_DOTENV. The default is True, load the files.
Parameters
| Name | Type | Description |
|---|---|---|
| default | bool = True | What to return if the FLASK_SKIP_DOTENV environment variable isn't set. |
Returns
| Type | Description |
|---|---|
bool | A boolean indicating whether dotenv files should be loaded based on the environment variable configuration. |