def bundle(self, path: pathlib.Path, *, basedir: pathlib.Path = pathlib.Path.cwd(), options: Dict[str, Any]) -> bytes: include_paths: List[pathlib.Path] = options['include_paths'] assert isinstance(include_paths, list) bundler = Bundler(iquotes=include_paths) bundler.update(path) return bundler.get()
def bundle(self, path: pathlib.Path, *, basedir: pathlib.Path) -> bytes: bundler = Bundler(iquotes=[basedir]) bundler.update(path) return bundler.get()