def path(self): """ Paths under which this object may be found. Subclasses should provide tuples indicating more paths (e.g. via a ToMany relationship). This is a MultiPathIndex on the catalog. """ return IPathReporter(self._context).getPaths()
def devicePathsFromComponent(comp): c_paths = IPathReporter(comp).getPaths() return [path + ('device', ) for path in c_paths[1:]]