code: def create(self, query, **kwargs):
          
          if kwargs.get("exec_mode", None) == "oneshot":
              raise TypeError("Cannot specify exec_mode=oneshot; use the oneshot method instead.")
          response = self.post(search=query, **kwargs)
          sid = _load_sid(response)
          return Job(self.service, sid)
docs: Creates a search using a search query and any additional parameters
          you provide.
  
          :param query: The search query.
          :type query: ``string``
          :param kwargs: Additiona parameters (optional). For a list of available
              parameters, see `Search job parameters
              <http://dev.splunk.com/view/SP-CAAAEE5#searchjobparams>`_
              on Splunk Developer Portal.
          :type kwargs: ``dict``
  
          :return: The :class:`Job`.