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 🚧

core.path_resource_raw_files

core.path_resource_raw_files(package_id, resource_id)

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

Parameters

package_id : int

ID of the package.

resource_id : int

ID of the resource.

Returns

: list[Path]

A list of Paths to the raw files of the resource.

Raises

: NotADirectoryError

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