libera_utils.config.ConfigurationFormatter#
- class libera_utils.config.ConfigurationFormatter#
Bases:
Formatter
Customize the string formatter to replace fields in a config string with values from the configuration dictionary. This will allow configuration parameters in the emus_config.json file to be based off of other configuration parameters by wrapping the configuration key in curly braces.
Methods
get_field
(field_name, args, kwargs)get_value
(key, *args, **kwargs)Overrides the default get_value method in the python formatter.
parse
(format_string)check_unused_args
convert_field
format
format_field
vformat
- __init__(*args, **kwargs)#
Methods
get_value
(key, *args, **kwargs)Overrides the default get_value method in the python formatter.