class_docstr: A database of Python generated symbols.
class_docstr_tok: ["A","database","of","Python","generated","symbols","."]
docstr: Tries to find a symbol in the local database.
  
  Currently, this method only returns message.Message instances, however, if
  may be extended in future to support other symbol types.
  
  Args:
    symbol (str): a protocol buffer symbol.
  
  Returns:
    A Python class corresponding to the symbol.
  
  Raises:
    KeyError: if the symbol could not be found.
docstr_tok: ["Tries","to","find","a","symbol","in","the","local","database",".","Currently",",","this","method","only","returns","message.Message","instances",",","however",",","if","may","be","extended","in","future","to","support","other","symbol","types",".","Args",":","symbol","(","str",")",":","a","protocol","buffer","symbol",".","Returns",":","A","Python","class","corresponding","to","the","symbol",".","Raises",":","KeyError",":","if","the","symbol","could","not","be","found","."]
code: def GetSymbol(self, symbol):
      """Tries to find a symbol in the local database.
  
      Currently, this method only returns message.Message instances, however, if
      may be extended in future to support other symbol types.
  
      Args:
        symbol (str): a protocol buffer symbol.
  
      Returns:
        A Python class corresponding to the symbol.
  
      Raises:
        KeyError: if the symbol could not be found.
      """
  
      return self._classes[self.pool.FindMessageTypeByName(symbol)]
  
file_path: catboost/contrib/python/protobuf/py2/google/protobuf/symbol_database.py
imports: from google.protobuf.internal import api_implementation
  from google.protobuf import descriptor_pool
  from google.protobuf import message_factory
label_desc: Use image node_id 6 for calling the SymbolDatabase obj's underlying member method code with example usage: obj.GetSymbol(symbol) and returns: self