original_docstring: 
          Read directory entry by key and parent node.
          @param return_entry  If True, returns DirEntry object if found, otherwise DirEntry attributes dict
          @retval Either current DirEntry attributes dict or DirEntry object or None if not found.
          
docstring: Read directory entry by key and parent node.
  @param return_entry  If True, returns DirEntry object if found, otherwise DirEntry attributes dict
  @retval Either current DirEntry attributes dict or DirEntry object or None if not found.
docstring_tokens: Read directory entry by key and parent node . @param return_entry If True returns DirEntry object if found otherwise DirEntry attributes dict @retval Either current DirEntry attributes dict or DirEntry object or None if not found .
code: def lookup(self, parent, key=None, return_entry=False):
          """
          Read directory entry by key and parent node.
          @param return_entry  If True, returns DirEntry object if found, otherwise DirEntry attributes dict
          @retval Either current DirEntry attributes dict or DirEntry object or None if not found.
          """
          path = self._get_path(parent, key) if key else parent
          direntry = self._read_by_path(path)
          if return_entry:
              return direntry
          else:
              return direntry.attributes if direntry else None
code_tokens: def lookup ( self , parent , key = None , return_entry = False ) : path = self . _get_path ( parent , key ) if key else parent direntry = self . _read_by_path ( path ) if return_entry : return direntry else : return direntry . attributes if direntry else None
short_docstring: Read directory entry by key and parent node.
short_docstring_tokens: Read directory entry by key and parent node .
comment: """
          Read directory entry by key and parent node.
          @param return_entry  If True, returns DirEntry object if found, otherwise DirEntry attributes dict
          @retval Either current DirEntry attributes dict or DirEntry object or None if not found.
          """