code: def get(name, profile="splunk"):
      '''
      Get a splunk search
  
      CLI Example:
  
          splunk_search.get 'my search name'
      '''
      client = _get_splunk(profile)
      search = None
      # uglyness of splunk lib
      try:
          search = client.saved_searches[name]
      except KeyError:
          pass
      return searcf get(name, profile="splunk"):
      '''
      Get a splunk search
  
      CLI Example:
  
          splunk_search.get 'my search name'
      '''
      client = _get_splunk(profile)
      search = None
      # uglyness of splunk lib
      try:
          search = client.saved_searches[name]
      except KeyError:
          pass
      return search
docs: Get a splunk search
  
      CLI Example:
  
          splunk_search.get 'my search name'