config#

Configs

Config

Base class that can be extended to provide custom configurations.

Functions

build_config(x)

Build a Config from various types of input.

get_plugin(config_cls)

Infer the module path of the plugin where a Config class is defined.

register_config(type_hint[, plugin, upgrader])

Class decorator used to register Config classes with registry.

save_pipeline_config(cfg, output_uri)

Save a PipelineConfig to JSON file.

upgrade_config(config_dict)

Upgrade serialized Config(s) to the latest version.

upgrade_plugin_versions(plugin_versions)

Update the names of the plugins using the plugin aliases in the registry.

Exceptions

ConfigError

Exception raised for invalid configuration.