tlcurl.config_source
¶
Module Contents¶
Classes¶
Class |
Description |
---|---|
The source of an option’s value. |
API¶
- class tlcurl.config_source.ConfigSource¶
Bases:
enum.Enum
The source of an option’s value.
This enum is used during option resolution to track and store from which source the option was set.
- DEFAULT = 0¶
The option was set with the default value.
- MIXED = 1¶
The option was set from multiple sources. Indicates a compound value.
- SECONDARY_CONFIG_FILE = 2¶
The option was loaded from a configuration file with lower precedence. Typically used for config discovered with data.
- DATA_CONFIG_FILE = 2¶
Alias for SECONDARY_CONFIG_FILE. Deprecated.
- CONFIG_FILE = 3¶
The option was loaded from a normal configuration file.
- ENVIRONMENT = 4¶
The option was loaded from an environment variable.
- COMMAND_LINE = 5¶
The option was set on the command line.
- API = 6¶
The option was set using the API.