aztk/models/plugins/internal/plugin_manager.py
def _validate_args(self, plugin_cls, args: dict):
        """
        Validate the given args are valid for the plugin
        """
        plugin_args = self.get_args_for(plugin_cls)

        self._validate_no_extra_args(plugin_cls, plugin_args, args)

        for arg in plugin_args.values():
            if args.get(arg.name) is None:
                if arg.required:
                    message = "Missing a required argument {0} for plugin {1}".format(arg.name, plugin_cls.__name__)
                    raise InvalidPluginReferenceError(message)
                args[arg.name] = arg.default

        Validate the given args are valid for the plugin
        
Validate the given args are valid for the plugin
Validate the given args are valid for the plugin
def _validate_args(self, plugin_cls, args: dict):
        plugin_args = self.get_args_for(plugin_cls)
        self._validate_no_extra_args(plugin_cls, plugin_args, args)
        for arg in plugin_args.values():
            if args.get(arg.name) is None:
                if arg.required:
                    message = "Missing a required argument {0} for plugin {1}".format(arg.name, plugin_cls.__name__)
                    raise InvalidPluginReferenceError(message)
                args[arg.name] = arg.default
def _validate_args ( self , plugin_cls , args : dict ) : plugin_args = self . get_args_for ( plugin_cls ) self . _validate_no_extra_args ( plugin_cls , plugin_args , args ) for arg in plugin_args . values ( ) : if args . get ( arg . name ) is None : if arg . required : message = "Missing a required argument {0} for plugin {1}" . format ( arg . name , plugin_cls . __name__ ) raise InvalidPluginReferenceError ( message ) args [ arg . name ] = arg . default
Validate the given args are valid for the plugin
Validate the given args are valid for the plugin
"""
        Validate the given args are valid for the plugin
        """
self
plugin_cls
args
dict