original_docstring: 
      Given a SHOCK instance URL and a SHOCK node id, download the contents of that node
      to a file on disk.
      
docstring: Given a SHOCK instance URL and a SHOCK node id, download the contents of that node
  to a file on disk.
docstring_tokens: Given a SHOCK instance URL and a SHOCK node id download the contents of that node to a file on disk .
code: def query_shock_node(logger,
                               shock_service_url = None,
                               condition = None,
                               token = None):
      """
      Given a SHOCK instance URL and a SHOCK node id, download the contents of that node
      to a file on disk.
      """
  
      header = dict()
      header["Authorization"] = "Oauth {0}".format(token)
  
      query_str = urllib.urlencode(condition)
      print query_str
      
      logger.info("Querying shock node {0}/node/?query&{1}".format(shock_service_url,query_str))
  
      query_response = requests.get("{0}/node/?query&{1}".format(shock_service_url, query_str), headers=header, stream=True, verify=True)
      query_rst = query_response.json()['data']
      query_response.close()
      return query_rst
code_tokens: def query_shock_node ( logger , shock_service_url = None , condition = None , token = None ) : header = dict ( ) header [ "Authorization" ] = "Oauth {0}" . format ( token ) query_str = urllib . urlencode ( condition ) print query_str logger . info ( "Querying shock node {0}/node/?query&{1}" . format ( shock_service_url , query_str ) ) query_response = requests . get ( "{0}/node/?query&{1}" . format ( shock_service_url , query_str ) , headers = header , stream = True , verify = True ) query_rst = query_response . json ( ) [ 'data' ] query_response . close ( ) return query_rst
short_docstring: Given a SHOCK instance URL and a SHOCK node id, download the contents of that node
  to a file on disk.
short_docstring_tokens: Given a SHOCK instance URL and a SHOCK node id download the contents of that node to a file on disk .
comment: """
      Given a SHOCK instance URL and a SHOCK node id, download the contents of that node
      to a file on disk.
      """