def set_functions(self, functions):
        """Check functions passed as argument and set them to be used."""
        for func in functions:
            try:
                self.append_function(func)
            except (ValueError, AttributeError) as ex:
                log.error("'%s' is not a callable function: %s", func, ex)
                raise
def set_functions ( self , functions ) : for func in functions : try : self . append_function ( func ) except ( ValueError , AttributeError ) as ex : log . error ( "'%s' is not a callable function: %s" , func , ex ) raise
Check functions passed as argument and set them to be used.