parameters: (self, include_additional_headers=False)
return_statement: return header_list
docstring: Return a list of headers for a csv file.
docstring_summary: Return a list of headers for a csv file.
docstring_tokens: Return a list of headers for a csv file .
function: def get_headers(self, include_additional_headers=False):
          """
          Return a list of headers for a csv file.
          """
          def shorten(xpath):
              l = xpath.split('/')
              return '/'.join(l[2:])
  
          header_list = [shorten(xpath) for xpath in self.xpaths()]
          header_list += [UUID, SUBMISSION_TIME]
          if include_additional_headers:
              header_list += self._additional_headers()
          return header_list
function_tokens: def get_headers ( self , include_additional_headers = False ) : def shorten ( xpath ) : l = xpath . split ( '/' ) return '/' . join ( l [ 2 : ] ) header_list = [ shorten ( xpath ) for xpath in self . xpaths ( ) ] header_list += [ UUID , SUBMISSION_TIME ] if include_additional_headers : header_list += self . _additional_headers ( ) return header_list