original_docstring: 
      Use the only key to query info from fabric network.
      
docstring: Use the only key to query info from fabric network.
docstring_tokens: Use the only key to query info from fabric network .
code: def simpleQuery(key):
      """
      Use the only key to query info from fabric network.
      """
      infoQuery = subprocess.Popen(args=['../commonComponent/interRun.sh query '+key], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding='utf-8')
      outs, errs = infoQuery.communicate(timeout=15)
      if infoQuery.poll() == 0:
          return outs.strip(), infoQuery.poll()
      else:
          print("*** Failed to query the info of " + str(key) + "! ***" + errs.strip())
          return errs.strip(), infoQuery.poll()
code_tokens: def simpleQuery ( key ) : infoQuery = subprocess . Popen ( args = [ '../commonComponent/interRun.sh query ' + key ] , shell = True , stdout = subprocess . PIPE , stderr = subprocess . PIPE , encoding = 'utf-8' ) outs , errs = infoQuery . communicate ( timeout = 15 ) if infoQuery . poll ( ) == 0 : return outs . strip ( ) , infoQuery . poll ( ) else : print ( "*** Failed to query the info of " + str ( key ) + "! ***" + errs . strip ( ) ) return errs . strip ( ) , infoQuery . poll ( )
short_docstring: Use the only key to query info from fabric network.
short_docstring_tokens: Use the only key to query info from fabric network .
comment: """
      Use the only key to query info from fabric network.
      """