parameters: (project_id, treenode_id)
return_statement: return rows[0]
docstring: Return a list with information on the passed in node. It has the form:
  
      [ID, parent ID, x, y, z, confidence, radius, skeleton_id, edition_time, user_id]
  
      The returned edition time is an epoch number.
docstring_summary: Return a list with information on the passed in node. It has the form:
docstring_tokens: Return a list with information on the passed in node . It has the form :
function: def _compact_detail(project_id, treenode_id):
      """
      Return a list with information on the passed in node. It has the form:
  
      [ID, parent ID, x, y, z, confidence, radius, skeleton_id, edition_time, user_id]
  
      The returned edition time is an epoch number.
      """
      cursor = connection.cursor()
      cursor.execute("""
          SELECT id, parent_id, location_x, location_y, location_z, confidence,
          radius, skeleton_id, EXTRACT(EPOCH FROM edition_time), user_id
          FROM treenode
          WHERE id=%(treenode_id)s
          AND project_id=%(project_id)s
      """, {
          'project_id': project_id,
          'treenode_id': treenode_id
      })
  
      rows = cursor.fetchall()
      if len(rows) == 0:
          raise ValueError(f"Could not find treenode with ID {treenode_id}")
      if len(rows) > 1:
          raise ValueError(f"Found {len(rows)} treenodes with ID {treenode_id}, expected one")
  
      return rows[0]
function_tokens: def _compact_detail ( project_id , treenode_id ) : cursor = connection . cursor ( ) cursor . execute ( """
          SELECT id, parent_id, location_x, location_y, location_z, confidence,
          radius, skeleton_id, EXTRACT(EPOCH FROM edition_time), user_id
          FROM treenode
          WHERE id=%(treenode_id)s
          AND project_id=%(project_id)s
      """ , { 'project_id' : project_id , 'treenode_id' : treenode_id } ) rows = cursor . fetchall ( ) if len ( rows ) == 0 : raise ValueError ( f"Could not find treenode with ID {treenode_id}" ) if len ( rows ) > 1 : raise ValueError ( f"Found {len(rows)} treenodes with ID {treenode_id}, expected one" ) return rows [ 0 ]