tlcurl.config_source¶

Module Contents¶

Classes¶

Class

Description

ConfigSource

The source of an option’s value.

API¶

class 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.

API = 6¶

The option was set using the API.

COMMAND_LINE = 5¶

The option was set on the command line.

CONFIG_FILE = 3¶

The option was loaded from a normal configuration file.

DATA_CONFIG_FILE = 2¶

Alias for SECONDARY_CONFIG_FILE. Deprecated.

DEFAULT = 0¶

The option was set with the default value.

ENVIRONMENT = 4¶

The option was loaded from an environment variable.

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.