'List services.
Args:
filters (dict): Filters to process on the nodes list. Valid
filters: ``id`` and ``name``. Default: ``None``.
Returns:
(list of :py:class:`Service`): The services.
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

def list(self, **kwargs):

    return [self.prepare_model(s) for s in self.client.api.services(**kwargs)]
