class_docstr: A thin client for the REST Service.
class_docstr_tok: ["A","thin","client","for","the","REST","Service","."]
docstr: Performs a query. Either specify *args or **kwargs, not both.
  Respects query_timeout.
docstr_tok: ["Performs","a","query",".","Either","specify","*","args","or","*","*","kwargs",",","not","both",".","Respects","query_timeout","."]
code: def query(self, name, *args, **kwargs):
      """Performs a query. Either specify *args or **kwargs, not both.
      Respects query_timeout."""
      if args and kwargs:
          raise ValueError(
              "Mixing of keyword arguments and positional arguments when "
              "querying an endpoint is not supported."
          )
      return self.service_client.POST(
          "query/" + name,
          data={"data": args or kwargs},
          timeout=self.query_timeout,
      )
  
imports: from .rest import RESTObject, RESTProperty
  from datetime import datetime
label_desc: Use image node_id 3 for calling the RESTServiceClient obj's underlying member method code with example usage: obj.query(name) and returns: self