code: def list_services(self, instance):
          
          # Server does not do pagination on listings of this resource.
          # Return an iterator anyway for similarity with other API methods
          url = '/services/{}'.format(instance)
          response = self.get_proto(path=url)
          message = rest_pb2.ListServiceInfoResponse()
          message.ParseFromString(response.content)
          services = getattr(message, 'service')
          return iter([Service(service) for service in services])
docs: List the services for an instance.
  
          :param str instance: A Yamcs instance name.
          :rtype: ~collections.Iterable[.Service]