-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typo and grammar in CLI env_file description.
- Corrected "then" to "when" in the description. - Fixed grammar: changed "which require values" to "which requires values."
- Loading branch information
Showing
4 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Simple Configuration. Just a table. | ||
|
||
| Name | Type | Default | Description | Example | | ||
|------------------------------------------------------------|----------------------|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------| | ||
| `PYDANTIC_SETTINGS_EXPORT__DEFAULT_SETTINGS` | `array` | `[]` | The default settings to use. The settings are applied in the order they are listed. | `["settings:settings"]`, `["app.config.settings:Settings","app.config.settings.dev:Settings"]` | | ||
| `PYDANTIC_SETTINGS_EXPORT__ROOT_DIR` | `Path` | `"<project_dir>"` | The project directory. Used for relative paths in the configuration file and .env file. | `"<project_dir>"` | | ||
| `PYDANTIC_SETTINGS_EXPORT__PROJECT_DIR` | `Path` | `"<project_dir>"` | The project directory. Used for relative paths in the configuration file and .env file. | `"<project_dir>"` | | ||
| `PYDANTIC_SETTINGS_EXPORT__RESPECT_EXCLUDE` | `boolean` | `true` | Respect the exclude attribute in the fields. | `true` | | ||
| `PYDANTIC_SETTINGS_EXPORT__ENV_FILE` | `Path` \| `NoneType` | `null` | The path to the `.env` file to load environment variables. Useful then you have a Settings class/instance, which require values while running. | `null` | | ||
| `PYDANTIC_SETTINGS_EXPORT__RELATIVE_TO__REPLACE_ABS_PATHS` | `boolean` | `true` | Replace absolute paths with relative path to project root. | `true` | | ||
| `PYDANTIC_SETTINGS_EXPORT__RELATIVE_TO__ALIAS` | `string` | `"<project_dir>"` | The alias for the relative directory. | `"<project_dir>"` | | ||
| Name | Type | Default | Description | Example | | ||
|------------------------------------------------------------|----------------------|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------| | ||
| `PYDANTIC_SETTINGS_EXPORT__DEFAULT_SETTINGS` | `array` | `[]` | The default settings to use. The settings are applied in the order they are listed. | `["settings:settings"]`, `["app.config.settings:Settings","app.config.settings.dev:Settings"]` | | ||
| `PYDANTIC_SETTINGS_EXPORT__ROOT_DIR` | `Path` | `"<project_dir>"` | The project directory. Used for relative paths in the configuration file and .env file. | `"<project_dir>"` | | ||
| `PYDANTIC_SETTINGS_EXPORT__PROJECT_DIR` | `Path` | `"<project_dir>"` | The project directory. Used for relative paths in the configuration file and .env file. | `"<project_dir>"` | | ||
| `PYDANTIC_SETTINGS_EXPORT__RESPECT_EXCLUDE` | `boolean` | `true` | Respect the exclude attribute in the fields. | `true` | | ||
| `PYDANTIC_SETTINGS_EXPORT__ENV_FILE` | `Path` \| `NoneType` | `null` | he path to the .env file to load environment variables. Useful when you have a Settings class/instance, which requires values while running. | `null` | | ||
| `PYDANTIC_SETTINGS_EXPORT__RELATIVE_TO__REPLACE_ABS_PATHS` | `boolean` | `true` | Replace absolute paths with relative path to project root. | `true` | | ||
| `PYDANTIC_SETTINGS_EXPORT__RELATIVE_TO__ALIAS` | `string` | `"<project_dir>"` | The alias for the relative directory. | `"<project_dir>"` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters