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