partial_format#
- composer.utils.partial_format(s, *args, **kwargs)[source]#
Format a string with a partial set of arguments.
Since str.format() raises a KeyError if a format key is missing from the arguments, this function allows for a partial set of arguments to be provided. Any missing arguments will be left as-is in the string.