Warning

🚧 Sprout is still in active development and evolving quickly, so the documentation and functionality may not work as described and could undergo substantial changes 🚧

path_resource_raw_files

core.path_resource_raw_files(package_id: int, resource_id: int)

Gets the absolute path to the raw files of the specified resource.

Parameters

package_id : int

The ID of the package.

resource_id : int

The ID of the resource.

Returns

: list[Path]

A list of paths to the specified resource’s raw files.

Raises

: NotADirectoryError

If the package_id doesn’t exist or the resource_id doesn’t exist within the package.