dicfg.addons.addon.process_addons#

process_addons(key: str)[source]#

Extracts addons and their arguments from the key. Removes all addon annotations from the key and returns the cleaned key.

Parameters:

key – The input key string with addon annotations.

Returns:

A tuple of cleaned key and a list of extracted addons.