code: def list(self, **kwargs):
          
          return [
              self.prepare_model(s)
              for s in self.client.api.services(**kwargs)
          ]
docs: List services.
  
          Args:
              filters (dict): Filters to process on the nodes list. Valid
                  filters: ``id``, ``name`` , ``label`` and ``mode``.
                  Default: ``None``.
  
          Returns:
              list of :py:class:`Service`: The services.
  
          Raises:
              :py:class:`docker.errors.APIError`
                  If the server returns an error.