def create_effect(self, label: str, name: str, *args, **kwargs) -> Effect:
effect_cls = effects.find_effect_class(name)<EOL>effect = effect_cls(*args, **kwargs)<EOL>effect._label = label<EOL>if label in self._effects:<EOL><INDENT>raise ValueError("<STR_LIT>".format(label))<EOL><DEDENT>self._effects[label] = effect<EOL>return effect<EOL>
Create an effect instance adding it to the internal effects dictionary using the label as key.

Args:
    label (str): The unique label for the effect instance
    name (str): Name or full python path to the effect class we want to instantiate
    args: Positional arguments to the effect initializer
    kwargs: Keyword arguments to the effect initializer

Returns:
    The newly created Effect instance