original_docstring: 
          Given a qualified path, find entry in directory and return DirEntry object or None if not found.
          
docstring: Given a qualified path, find entry in directory and return DirEntry object or None if not found.
docstring_tokens: Given a qualified path find entry in directory and return DirEntry object or None if not found .
code: def _read_by_path(self, path, orgname=None, mult_keys=None):
          """
          Given a qualified path, find entry in directory and return DirEntry object or None if not found.
          """
          if path is None:
              raise BadRequest("Illegal arguments")
          orgname = orgname or self.orgname
          if mult_keys:
              parent = path or "/"
              key = mult_keys
          else:
              parent, key = path.rsplit("/", 1)
              parent = parent or "/"
          find_key = [orgname, key, parent]
          view_res = self.dir_store.find_by_view('directory', 'by_key', key=find_key, id_only=True, convert_doc=True)
  
          match = [doc for docid, index, doc in view_res]
          if mult_keys:
              entries_by_key = {doc.key: doc for doc in match}
              entries = [entries_by_key.get(key, None) for key in mult_keys]
              return entries
          else:
              if len(match) > 1:
                  log.error("More than one directory entry found for key %s" % path)
                  return match[0]
              elif match:
                  return match[0]
              return None
code_tokens: def _read_by_path ( self , path , orgname = None , mult_keys = None ) : if path is None : raise BadRequest ( "Illegal arguments" ) orgname = orgname or self . orgname if mult_keys : parent = path or "/" key = mult_keys else : parent , key = path . rsplit ( "/" , 1 ) parent = parent or "/" find_key = [ orgname , key , parent ] view_res = self . dir_store . find_by_view ( 'directory' , 'by_key' , key = find_key , id_only = True , convert_doc = True ) match = [ doc for docid , index , doc in view_res ] if mult_keys : entries_by_key = { doc . key : doc for doc in match } entries = [ entries_by_key . get ( key , None ) for key in mult_keys ] return entries else : if len ( match ) > 1 : log . error ( "More than one directory entry found for key %s" % path ) return match [ 0 ] elif match : return match [ 0 ] return None
short_docstring: Given a qualified path, find entry in directory and return DirEntry object or None if not found.
short_docstring_tokens: Given a qualified path find entry in directory and return DirEntry object or None if not found .
comment: """
          Given a qualified path, find entry in directory and return DirEntry object or None if not found.
          """