<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, name):
 """ Gets a plugin. Args: name (str):
 The name of the plugin. Returns: (:py:class:`Plugin`):
 The plugin. Raises: :py:class:`docker.errors.NotFound` If the plugin does not exist. :py:class:`docker.errors.APIError` If the server returns an error. """

        return self.prepare_model(self.client.api.inspect_plugin(name))