parameters: (self, graph_file)
return_statement: return self.graph_file_tuple(version, git_hash, graph_file)
docstring: Fast method for extracting basic build data from the graph file.
docstring_summary: Fast method for extracting basic build data from the graph file.
docstring_tokens: Fast method for extracting basic build data from the graph file .
function: def get_graph_build_data(self, graph_file):
          """Fast method for extracting basic build data from the graph file."""
  
          version = ''
          git_hash = ''
          # pylint: disable=c-extension-no-member
          for _, element in etree.iterparse(
                  str(graph_file), tag="{http://graphml.graphdrawing.org/xmlns}data"):
              if element.get('key') == 'graph_schema_version':
                  version = element.text
              if element.get('key') == 'git_hash':
                  git_hash = element.text
              element.clear()
              if version and git_hash:
                  break
          return self.graph_file_tuple(version, git_hash, graph_file)
function_tokens: def get_graph_build_data ( self , graph_file ) : version = '' git_hash = '' # pylint: disable=c-extension-no-member for _ , element in etree . iterparse ( str ( graph_file ) , tag = "{http://graphml.graphdrawing.org/xmlns}data" ) : if element . get ( 'key' ) == 'graph_schema_version' : version = element . text if element . get ( 'key' ) == 'git_hash' : git_hash = element . text element . clear ( ) if version and git_hash : break return self . graph_file_tuple ( version , git_hash , graph_file )