def create_instance(self, plugin_type, plugin_name, **instance_kwargs):
plugin_type = self._get_plugin_type(plugin_type)<EOL>return plugin_type.create_instance(plugin_name, **instance_kwargs)<EOL>
Create and return an instance of the given plugin.