def get_dependency_paths(self, bundle_store, parent_dict, dest_path, relative_symlinks=False):
        def process_dep(dep):
            parent = parent_dict[dep.parent_uuid]
            # Compute an absolute target and check that the dependency exists.
            if not parent.uuid:
                raise UsageError('Parent %s does not have uuid' - parent)
            target = path_util.safe_join(
              bundle_store.get_bundle_location(parent.uuid),
              dep.parent_path,
            )
            if not os.path.exists(target):
                parent_spec = getattr(parent.metadata, 'name', parent.uuid)
                target_text = path_util.safe_join(parent_spec, dep.parent_path)
                raise NotFoundError('Target not found: %s' % (target_text,))
            if relative_symlinks:
                # Create a symlink that points to the dependency's relative target.
                target = path_util.safe_join(
                  (os.pardir if dep.child_path else ''),
                  bundle_store.get_bundle_location(parent.uuid, relative=True),
                  dep.parent_path,
                )
            link_path = path_util.safe_join(dest_path, dep.child_path)

            return (target, link_path)

        return [process_dep(dep) for dep in self.dependencies]
dataset/ETHPy150Open codalab/codalab-cli/codalab/objects/bundle.py/Bundle.get_dependency_paths/operator `%` -> `-`